-
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.
[WebCore] Do not lookup HashSet multiple times in PropertyCascade
https://bugs.webkit.org/show_bug.cgi?id=261722 rdar://115706784 Reviewed by Antti Koivisto. Let's not lookup the same HashSet / HashMap multiple times. And use HashSet<AtomString> instead of HashSet<String> since name is already atomized. * Source/WebCore/style/PropertyCascade.cpp: (WebCore::Style::PropertyCascade::set): * Source/WebCore/style/StyleBuilder.cpp: (WebCore::Style::Builder::applyCustomProperties): (WebCore::Style::Builder::applyCustomProperty): (WebCore::Style::Builder::applyCustomPropertyImpl): (WebCore::Style::Builder::applyProperty): * Source/WebCore/style/StyleBuilder.h: * Source/WebCore/style/StyleBuilderState.h: Canonical link: https://commits.webkit.org/268114@main
- Loading branch information
1 parent
7fd0774
commit 6442b8b
Showing
4 changed files
with
31 additions
and
21 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