Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e2cc67fc6cce5e4c44e1d00eb3c4451fcc33f09a
      
https://github.com/WebKit/WebKit/commit/e2cc67fc6cce5e4c44e1d00eb3c4451fcc33f09a
  Author: Ryosuke Niwa <[email protected]>
  Date:   2026-02-17 (Tue, 17 Feb 2026)

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

  Log Message:
  -----------
  Add NODELETE to NodeTraversal functions
https://bugs.webkit.org/show_bug.cgi?id=308099

Reviewed by Geoffrey Garen.

Deployed NODELETE annotations to out-of-line functions in NodeTraversal.
Also added "inline" keyword on inline functions.

No new tests since there should be no behavioral changes.

* Source/WebCore/dom/Node.cpp:
(WebCore::Node::pseudoAwarePreviousSibling const):
(WebCore::Node::pseudoAwareNextSibling const):
(WebCore::Node::pseudoAwareFirstChild const):
(WebCore::Node::pseudoAwareLastChild const):
* Source/WebCore/dom/Node.h:
* Source/WebCore/dom/NodeTraversal.cpp:
(WebCore::NodeTraversal::previousIncludingPseudo):
(WebCore::NodeTraversal::nextIncludingPseudo):
(WebCore::NodeTraversal::nextIncludingPseudoSkippingChildren):
* Source/WebCore/dom/NodeTraversal.h:

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



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

Reply via email to