[webkit-changes] [WebKit/WebKit] 1251f3: Stop using CheckedPtr with MessagePortChannel
Chris Dumez
noreply at github.com
Thu Dec 14 22:08:34 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1251f3ceb887a017ea8cccdf388cebe51e66a7c6
https://github.com/WebKit/WebKit/commit/1251f3ceb887a017ea8cccdf388cebe51e66a7c6
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths:
M Source/WTF/wtf/WeakRef.h
M Source/WebCore/dom/messageports/MessagePortChannel.h
M Source/WebCore/dom/messageports/MessagePortChannelRegistry.h
Log Message:
-----------
Stop using CheckedPtr with MessagePortChannel
https://bugs.webkit.org/show_bug.cgi?id=266451
Reviewed by Ryosuke Niwa.
Stop using CheckedPtr with MessagePortChannel. Use WeakPtr instead to generate
more actionable crashes.
* Source/WTF/wtf/WeakRef.h:
(WTF::WeakRef::ptrAllowingHashTableEmptyValue const):
* Source/WebCore/dom/messageports/MessagePortChannel.h:
* Source/WebCore/dom/messageports/MessagePortChannelRegistry.h:
Canonical link: https://commits.webkit.org/272094@main
More information about the webkit-changes
mailing list