Bug 203153 - ElementRuleCollector function signature cleanups
Summary: ElementRuleCollector function signature cleanups
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-10-18 08:26 PDT by Antti Koivisto
Modified: 2019-10-18 11:47 PDT (History)
10 users (show)

See Also:


Attachments
patch (26.98 KB, patch)
2019-10-18 09:26 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff
windows build fix (1.30 KB, patch)
2019-10-18 11:40 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2019-10-18 08:26:29 PDT
Many functions in ElementRuleCollector take repetitive arguments that can be removed:

- Make includeEmptyRules argument a class member
- Remove RuleRange argument, update the ranges in rule transfer step.
Comment 1 Antti Koivisto 2019-10-18 09:26:04 PDT
Created attachment 381307 [details]
patch
Comment 2 WebKit Commit Bot 2019-10-18 11:07:59 PDT
The commit-queue encountered the following flaky tests while processing attachment 381307 [details]:

inspector/console/webcore-logging.html bug 203118 (authors: drousso@apple.com and eric.carlson@apple.com)
fast/events/resize-subframe-in-rendering-update.html bug 203140 (author: rniwa@webkit.org)
The commit-queue is continuing to process your patch.
Comment 3 WebKit Commit Bot 2019-10-18 11:08:50 PDT
Comment on attachment 381307 [details]
patch

Clearing flags on attachment: 381307

Committed r251289: <https://trac.webkit.org/changeset/251289>
Comment 4 WebKit Commit Bot 2019-10-18 11:08:51 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2019-10-18 11:09:19 PDT
<rdar://problem/56412684>
Comment 6 Antti Koivisto 2019-10-18 11:40:45 PDT
Created attachment 381318 [details]
windows build fix
Comment 7 Antti Koivisto 2019-10-18 11:47:25 PDT
Build fix https://trac.webkit.org/r251291