Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2c5822126d547e401ed5f33a2df262e5f971d89c
      
https://github.com/WebKit/WebKit/commit/2c5822126d547e401ed5f33a2df262e5f971d89c
  Author: Ryosuke Niwa <[email protected]>
  Date:   2026-04-28 (Tue, 28 Apr 2026)

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

  Log Message:
  -----------
  Make EventTarget::opaqueRoot and Node::opaqueRoot out-of-line
https://bugs.webkit.org/show_bug.cgi?id=313519

Reviewed by Richard Robinson.

We already had out-of-line definitions for PLATFORM(WIN). Delete the inlined 
version
from other platforms as perf A/B testing shows virtually no benefit.

No new tests since there should be no behavioral differences.

* Source/WebCore/dom/EventTarget.cpp:
(WebCore::EventTarget::opaqueRoot const):
* Source/WebCore/dom/EventTarget.h:
* Source/WebCore/dom/EventTargetInlines.h:
(WebCore::EventTarget::opaqueRoot const): Deleted.
* Source/WebCore/dom/Node.cpp:
(WebCore::Node::opaqueRoot const):
* Source/WebCore/dom/Node.h:
* Source/WebCore/dom/NodeInlines.h:
(WebCore::Node::opaqueRoot const): Deleted.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to