-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract a portion of NodeIteratorBase::acceptNode which checks bit f…
…lags 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
- Loading branch information
Showing
3 changed files
with
38 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters