Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3fb615cd242e624cd734b345d86828d7fb11cac4
https://github.com/WebKit/WebKit/commit/3fb615cd242e624cd734b345d86828d7fb11cac4
Author: Chris Dumez <[email protected]>
Date: 2026-09-29 (Tue, 29 Sep 2026)
Changed paths:
M Source/WTF/wtf/text/StringView.h
M Source/WebKit/NetworkProcess/cache/NetworkCacheBlobStorage.cpp
Log Message:
-----------
Remove StringView::fromLatin1(std::span<const Latin1Character>)
https://bugs.webkit.org/show_bug.cgi?id=325624
Reviewed by Darin Adler.
This overload only forwards to the StringView(std::span<const Latin1Character>)
constructor, so callers can use the constructor directly.
Also add a StringView(const ASCIICString&) constructor. ASCII characters are
valid Latin-1, so callers no longer need to byteCast an ASCIICString's span to
construct a StringView.
* Source/WTF/wtf/text/StringView.h:
(WTF::StringView::StringView):
* Source/WebKit/NetworkProcess/cache/NetworkCacheBlobStorage.cpp:
(WebKit::NetworkCache::BlobStorage::blobPathForHash const):
Canonical link: https://commits.webkit.org/322214@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications