[webkit-changes] [WebKit/WebKit] 3e03e5: Drop MappedFileData::data() in favor of span()
Chris Dumez
noreply at github.com
Sun Jun 30 19:41:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3e03e5b45afbf2b189c0df3282e6ea66c8866bda
https://github.com/WebKit/WebKit/commit/3e03e5b45afbf2b189c0df3282e6ea66c8866bda
Author: Chris Dumez <cdumez at apple.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M Source/JavaScriptCore/runtime/CachePayload.cpp
M Source/WTF/wtf/FileSystem.cpp
M Source/WTF/wtf/FileSystem.h
M Source/WebCore/contentextensions/SerializedNFA.cpp
M Source/WebCore/platform/SharedBuffer.cpp
M Source/WebCore/platform/network/BlobRegistryImpl.cpp
M Source/WebKit/NetworkProcess/cache/NetworkCacheDataGLib.cpp
M Tools/TestWebKitAPI/Tests/WTF/FileSystem.cpp
Log Message:
-----------
Drop MappedFileData::data() in favor of span()
https://bugs.webkit.org/show_bug.cgi?id=276045
Reviewed by Darin Adler.
* Source/JavaScriptCore/runtime/CachePayload.cpp:
(JSC::CachePayload::data const):
* Source/WTF/wtf/FileSystem.cpp:
(WTF::FileSystemImpl::finalizeMappedFileData):
(WTF::FileSystemImpl::mapToFile):
* Source/WTF/wtf/FileSystem.h:
(WTF::FileSystemImpl::MappedFileData::operator bool const):
(WTF::FileSystemImpl::MappedFileData::span const):
(WTF::FileSystemImpl::MappedFileData::mutableSpan):
(WTF::FileSystemImpl::MappedFileData::data const): Deleted.
* Source/WebCore/contentextensions/SerializedNFA.cpp:
(WebCore::ContentExtensions::SerializedNFA::pointerAtOffsetInFile const):
* Source/WebCore/platform/SharedBuffer.cpp:
(WebCore::DataSegment::data const):
* Source/WebCore/platform/network/BlobRegistryImpl.cpp:
(WebCore::storeInMappedFileData):
Canonical link: https://commits.webkit.org/280517@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list