[webkit-changes] [WebKit/WebKit] ec5252: Speed up Node refcounting via its EventTarget base...

Chris Dumez noreply at github.com
Sun Mar 19 17:52:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ec525255894ef12c39407066bad4a315be7f9391
      https://github.com/WebKit/WebKit/commit/ec525255894ef12c39407066bad4a315be7f9391
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-03-19 (Sun, 19 Mar 2023)

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

  Log Message:
  -----------
  Speed up Node refcounting via its EventTarget base class
https://bugs.webkit.org/show_bug.cgi?id=254113

Reviewed by Darin Adler.

Speed up Node refcounting via its EventTarget base class by
avoiding virtual function calls.

* Source/WebCore/dom/EventTarget.h:
(WebCore::EventTarget::ref): Deleted.
(WebCore::EventTarget::deref): Deleted.
* Source/WebCore/dom/Node.h:
(WebCore::EventTarget::ref):
(WebCore::EventTarget::deref):

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




More information about the webkit-changes mailing list