Bug 180354

Summary: Remove duplicates from selector filter hashes
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: CSSAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: commit-queue, ews-watchlist, ggaren, rniwa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
patch none

Description Antti Koivisto 2017-12-04 07:14:05 PST
We have only four slots for hashes in RuleSet (and adding more regresses performance). To use them better we should eliminate duplicates.
Comment 1 Radar WebKit Bug Importer 2017-12-04 07:18:35 PST
Comment 2 Antti Koivisto 2017-12-04 07:36:08 PST
Created attachment 328345 [details]
Comment 3 EWS Watchlist 2017-12-04 07:38:07 PST
Attachment 328345 [details] did not pass style-queue:

ERROR: Source/WebCore/css/SelectorFilter.cpp:102:  Missing space before {  [whitespace/braces] [5]
Total errors found: 1 in 6 files

If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Antti Koivisto 2017-12-04 07:41:47 PST
Created attachment 328346 [details]
Comment 5 WebKit Commit Bot 2017-12-04 10:37:04 PST
Comment on attachment 328346 [details]

Clearing flags on attachment: 328346

Committed r225482: <https://trac.webkit.org/changeset/225482>
Comment 6 WebKit Commit Bot 2017-12-04 10:37:05 PST
All reviewed patches have been landed.  Closing bug.