-
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.
https://bugs.webkit.org/show_bug.cgi?id=273988 Reviewed by Ryosuke Niwa. Add iterator to SpaceSplitString. This results in nicer code and may be a bit more efficient than using operator[] which does a bounds check. This also allows us to use more efficient functions to construct or populate Vectors (such as WTF:::map()). * Source/WebCore/accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::addRelation): * Source/WebCore/accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::elementsFromAttribute const): * Source/WebCore/css/SelectorChecker.cpp: (WebCore::SelectorChecker::checkOne const): * Source/WebCore/css/SelectorFilter.cpp: (WebCore::SelectorFilter::collectElementIdentifierHashes): * Source/WebCore/dom/CustomElementDefaultARIA.cpp: (WebCore::CustomElementDefaultARIA::elementsForAttribute const): * Source/WebCore/dom/Element.cpp: (WebCore::Element::getElementsArrayAttribute const): * Source/WebCore/dom/SpaceSplitString.h: (WebCore::SpaceSplitStringData::begin const): (WebCore::SpaceSplitStringData::end const): (WebCore::SpaceSplitStringData::begin): (WebCore::SpaceSplitStringData::end): (WebCore::SpaceSplitStringData::tokenArrayStart const): (WebCore::SpaceSplitString::begin const): (WebCore::SpaceSplitString::end const): (WebCore::SpaceSplitString::begin): (WebCore::SpaceSplitString::end): * Source/WebCore/html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::sendPings): * Source/WebCore/page/EventHandler.cpp: (WebCore::findDropZone): * Source/WebCore/style/ClassChangeInvalidation.cpp: (WebCore::Style::collectClasses): (WebCore::Style::computeClassChanges): * Source/WebCore/style/ElementRuleCollector.cpp: (WebCore::Style::ElementRuleCollector::collectMatchingRules): * Source/WebCore/style/PseudoClassChangeInvalidation.cpp: (WebCore::Style::makePseudoClassInvalidationKeys): * Source/WebCore/style/StyleSharingResolver.cpp: (WebCore::Style::SharingResolver::classNamesAffectedByRules const): Canonical link: https://commits.webkit.org/278601@main
- Loading branch information
Showing
13 changed files
with
59 additions
and
57 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
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
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
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
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