Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make SharedMemoryHandle non-copyable
https://bugs.webkit.org/show_bug.cgi?id=256539 Reviewed by Kimmo Kinnunen. Add `WTF_MAKE_NONCOPYABLE` to `SharedMemoryHandle`. Enumerate constructors for the class. Move common implementation of `SharedMemoryHandle` into common .cpp. * Source/WebKit/Platform/SharedMemory.cpp: (WebKit::SharedMemoryHandle::SharedMemoryHandle): (WebKit::SharedMemoryHandle::isNull const): * Source/WebKit/Platform/SharedMemory.h: * Source/WebKit/Platform/cocoa/SharedMemoryCocoa.cpp: (WebKit::SharedMemoryHandle::isNull const): Deleted. * Source/WebKit/Platform/unix/SharedMemoryUnix.cpp: (WebKit::SharedMemoryHandle::isNull const): Deleted. * Source/WebKit/Platform/win/SharedMemoryWin.cpp: (WebKit::SharedMemoryHandle::isNull const): Deleted. * Source/WebKit/Shared/IPCStreamTester.cpp: (WebKit::IPCStreamTester::syncMessageReturningSharedMemory1): * Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp: (WebKit::IPCTestingAPI::JSSharedMemory::createHandle): Canonical link: https://commits.webkit.org/263897@main
- Loading branch information
1 parent
5fae846
commit 00afd6a
Showing
7 changed files
with
22 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters