[webkit-changes] [WebKit/WebKit] b9a502: Node is currently this only EventTarget subclass a...

Chris Dumez noreply at github.com
Mon Dec 11 16:37:21 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b9a502d60c06019a202360058c8435f683f3e2f3
      https://github.com/WebKit/WebKit/commit/b9a502d60c06019a202360058c8435f683f3e2f3
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M Source/WebCore/dom/EventTarget.cpp
    M Source/WebCore/dom/EventTarget.h
    M Source/WebCore/dom/MessagePort.cpp
    M Source/WebCore/dom/Node.cpp
    M Source/WebCore/dom/Node.h

  Log Message:
  -----------
  Node is currently this only EventTarget subclass actually requiring CanMakeCheckedPtr
https://bugs.webkit.org/show_bug.cgi?id=266256

Reviewed by Darin Adler.

Node is currently this only EventTarget subclass actually requiring CanMakeCheckedPtr.
We can thus have Node subclass CanMakeCheckedPtr directly to decrease the size of
every other EventTarget subclass.

* Source/WebCore/dom/EventTarget.cpp:
* Source/WebCore/dom/EventTarget.h:
* Source/WebCore/dom/MessagePort.cpp:
(WebCore::MessagePort::disentanglePorts):
* Source/WebCore/dom/Node.cpp:
* Source/WebCore/dom/Node.h:

Canonical link: https://commits.webkit.org/271905@main




More information about the webkit-changes mailing list