Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1251f3ceb887a017ea8cccdf388cebe51e66a7c6
      
https://github.com/WebKit/WebKit/commit/1251f3ceb887a017ea8cccdf388cebe51e66a7c6
  Author: Chris Dumez <cdu...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to