Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 647445dd15fa6223ee4108d7d9c2c300323d88a1
https://github.com/WebKit/WebKit/commit/647445dd15fa6223ee4108d7d9c2c300323d88a1
Author: Fujii Hironori <[email protected]>
Date: 2025-03-04 (Tue, 04 Mar 2025)
Changed paths:
M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
M Source/WebCore/accessibility/AccessibilityMathMLElement.cpp
M Source/WebCore/accessibility/AccessibilityTree.cpp
M Source/WebCore/bindings/js/JSNodeCustom.h
M Source/WebCore/dom/ContainerNode.h
M Source/WebCore/dom/Element.cpp
M Source/WebCore/dom/ElementAndTextDescendantIterator.h
M Source/WebCore/dom/EventPath.cpp
M Source/WebCore/dom/Node.h
M Source/WebCore/dom/NodeInlines.h
M Source/WebCore/dom/NodeTraversal.h
M Source/WebCore/dom/Position.h
M Source/WebCore/dom/PositionInlines.h
M Source/WebCore/dom/PositionIterator.cpp
M Source/WebCore/dom/PositionIterator.h
M Source/WebCore/dom/RangeBoundaryPoint.h
M Source/WebCore/dom/RangeBoundaryPointInlines.h
M Source/WebCore/editing/ApplyStyleCommand.cpp
M Source/WebCore/editing/RemoveNodePreservingChildrenCommand.cpp
M Source/WebCore/editing/RenderedPosition.cpp
M Source/WebCore/editing/ReplaceNodeWithSpanCommand.cpp
M Source/WebCore/page/SpatialNavigation.cpp
M Source/WebCore/xml/XPathPath.cpp
M Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMNode.mm
M Tools/TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp
Log Message:
-----------
Move inline functions of Node class from ContainerNode.h to NodeInlines.h
https://bugs.webkit.org/show_bug.cgi?id=289026
Reviewed by Ryosuke Niwa.
Some inline functions of Node class were defined in ContainerNode.h.
<https://commits.webkit.org/291488@main> added NodeInlines.h. Move the
inline functions to NodeInlines.h.
* Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebCore/accessibility/AccessibilityMathMLElement.cpp:
* Source/WebCore/accessibility/AccessibilityTree.cpp:
* Source/WebCore/bindings/js/JSNodeCustom.h:
* Source/WebCore/dom/ContainerNode.h:
(WebCore::Node::countChildNodes const): Deleted.
(WebCore::Node::traverseToChildAt const): Deleted.
(WebCore::Node::firstChild const): Deleted.
(WebCore::Node::protectedFirstChild const): Deleted.
(WebCore::Node::lastChild const): Deleted.
(WebCore::Node::protectedLastChild const): Deleted.
(WebCore::Node::hasChildNodes const): Deleted.
(WebCore::Node::rootNode const): Deleted.
(WebCore::collectChildNodes): Deleted.
(WebCore::Node::setParentNode): Deleted.
(WebCore::Node::protectedParentNode const): Deleted.
* Source/WebCore/dom/Element.cpp:
* Source/WebCore/dom/ElementAndTextDescendantIterator.h:
* Source/WebCore/dom/EventPath.cpp:
* Source/WebCore/dom/Node.h:
* Source/WebCore/dom/NodeInlines.h:
(WebCore::Node::countChildNodes const):
(WebCore::Node::traverseToChildAt const):
(WebCore::Node::firstChild const):
(WebCore::Node::protectedFirstChild const):
(WebCore::Node::lastChild const):
(WebCore::Node::protectedLastChild const):
(WebCore::Node::hasChildNodes const):
(WebCore::Node::rootNode const):
(WebCore::Node::setParentNode):
(WebCore::Node::protectedParentNode const):
(WebCore::collectChildNodes):
* Source/WebCore/dom/NodeTraversal.h:
* Source/WebCore/dom/Position.h:
(WebCore::offsetIsBeforeLastNodeOffset): Deleted.
* Source/WebCore/dom/PositionInlines.h:
(WebCore::offsetIsBeforeLastNodeOffset):
* Source/WebCore/dom/PositionIterator.cpp:
(WebCore::PositionIterator::PositionIterator):
* Source/WebCore/dom/PositionIterator.h:
(WebCore::PositionIterator::PositionIterator): Deleted.
* Source/WebCore/dom/RangeBoundaryPoint.h:
(WebCore::RangeBoundaryPoint::set): Deleted.
* Source/WebCore/dom/RangeBoundaryPointInlines.h:
(WebCore::RangeBoundaryPoint::set):
* Source/WebCore/editing/ApplyStyleCommand.cpp:
* Source/WebCore/editing/RemoveNodePreservingChildrenCommand.cpp:
* Source/WebCore/editing/RenderedPosition.cpp:
* Source/WebCore/editing/ReplaceNodeWithSpanCommand.cpp:
* Source/WebCore/page/SpatialNavigation.cpp:
* Source/WebCore/xml/XPathPath.cpp:
* Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMNode.mm:
* Tools/TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp:
Canonical link: https://commits.webkit.org/291613@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes