Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1bdae87849777fb04762fdb0169b93ade8019a71
https://github.com/WebKit/WebKit/commit/1bdae87849777fb04762fdb0169b93ade8019a71
Author: Chris Dumez <[email protected]>
Date: 2024-11-09 (Sat, 09 Nov 2024)
Changed paths:
M Source/WTF/WTF.xcodeproj/project.pbxproj
M Source/WTF/wtf/CMakeLists.txt
M Source/WTF/wtf/FileSystem.cpp
M Source/WTF/wtf/FileSystem.h
M Source/WTF/wtf/MallocSpan.h
A Source/WTF/wtf/Mmap.h
M Source/WTF/wtf/TypeTraits.h
M Source/WebKit/Platform/IPC/Encoder.cpp
M Source/WebKit/Platform/IPC/Encoder.h
Log Message:
-----------
Drop use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in wtf/FileSystem.h
https://bugs.webkit.org/show_bug.cgi?id=282801
Reviewed by Darin Adler.
* Source/WTF/WTF.xcodeproj/project.pbxproj:
* Source/WTF/wtf/CMakeLists.txt:
* Source/WTF/wtf/FileSystem.cpp:
(WTF::FileSystemImpl::MappedFileData::mapFileHandle):
(WTF::FileSystemImpl::MappedFileData::~MappedFileData): Deleted.
* Source/WTF/wtf/FileSystem.h:
(WTF::FileSystemImpl::MappedFileData::leakHandle):
(WTF::FileSystemImpl::MappedFileData::operator bool const):
(WTF::FileSystemImpl::MappedFileData::size const):
(WTF::FileSystemImpl::MappedFileData::span const):
(WTF::FileSystemImpl::MappedFileData::mutableSpan):
(WTF::FileSystemImpl::MappedFileData::fileMapping const):
* Source/WTF/wtf/MallocSpan.h:
(WTF::MallocSpan::~MallocSpan):
(WTF::MallocSpan::mmap):
* Source/WTF/wtf/Mmap.h: Added.
(WTF::Mmap::mmap):
(WTF::Mmap::free):
* Source/WTF/wtf/TypeTraits.h:
(WTF::parameterCount):
* Source/WebKit/Platform/IPC/Encoder.cpp:
(IPC::allocateBuffer):
(IPC::Encoder::reserve):
(IPC::Encoder::messageFlags):
(IPC::Encoder::messageFlags const):
(IPC::Encoder::grow):
(IPC::Encoder::capacityBuffer):
(IPC::Encoder::capacityBuffer const):
(IPC::allocBuffer): Deleted.
(IPC::freeBuffer): Deleted.
(IPC::Encoder::~Encoder): Deleted.
(IPC::Encoder::freeBufferIfNecessary): Deleted.
* Source/WebKit/Platform/IPC/Encoder.h:
Canonical link: https://commits.webkit.org/286374@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes