Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: ff897caf5ad29704726b6551c955396a4775631e https://github.com/WebKit/WebKit/commit/ff897caf5ad29704726b6551c955396a4775631e Author: Ryosuke Niwa <rn...@webkit.org> Date: 2024-02-28 (Wed, 28 Feb 2024)
Changed paths: M Source/WebCore/dom/Traversal.cpp M Source/WebCore/dom/Traversal.h M Source/WebCore/dom/TreeWalker.cpp Log Message: ----------- Extract a portion of NodeIteratorBase::acceptNode which checks bit flags into its own function https://bugs.webkit.org/show_bug.cgi?id=270210 <rdar://problem/123733686> Reviewed by Chris Dumez. Extracted matchesWhatToShow out of acceptNode and deployed in TreeWalker::nextNode and TreeWalker::previousNode. * Source/WebCore/dom/Traversal.cpp: (WebCore::NodeIteratorBase::acceptNodeSlowCase): * Source/WebCore/dom/Traversal.h: (WebCore::NodeIteratorBase::acceptNode): (WebCore::NodeIteratorBase::matchesWhatToShow): * Source/WebCore/dom/TreeWalker.cpp: (WebCore::TreeWalker::previousNode): (WebCore::TreeWalker::nextNode): Canonical link: https://commits.webkit.org/275468@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes