Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Issue 143653010: Refactor RuleFeatureSet to simplify iteration over CSS Selectors when collecting data. (Closed)

Created:
6 years, 11 months ago by chrishtr
Modified:
6 years, 11 months ago
CC:
blink-reviews, webcomponents-bugzilla_chromium.org, sof, eae+blinkwatch, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, adamk+blink_chromium.org, darktears, Inactive
Visibility:
Public.

Description

Refactor RuleFeatureSet to simplify iteration over CSS Selectors when collecting data. Make all callers use the public methods rather than poking data structures. Fix a bug in descendant selector set matching along the way (was marking whole-tree recalc needed for all class names, as opposed to the ones in the particular rule). BUG=335247 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165771

Patch Set 1 #

Total comments: 1

Patch Set 2 : Renamed method. #

Patch Set 3 : Added comment. #

Total comments: 4

Patch Set 4 : Updated comment. #

Patch Set 5 : Updated comment. #

Patch Set 6 : Fixed build on Mac (debug assert). #

Patch Set 7 : Fixed typo. #

Patch Set 8 : fix initial value for sibling selector #

Patch Set 9 : Remove now-inaccurate ASSERT. #

Patch Set 10 : Merged. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -84 lines) Patch
M LayoutTests/fast/dom/shadow/ancestor-pseudo-class-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSDefaultStyleSheets.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/RuleFeature.h View 1 2 3 4 5 6 7 8 2 chunks +36 lines, -21 lines 0 comments Download
M Source/core/css/RuleFeature.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +60 lines, -52 lines 0 comments Download
M Source/core/css/resolver/SharedStyleFinder.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/css/resolver/StyleResolver.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/dom/shadow/SelectRuleFeatureSet.h View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
chrishtr
Refactor RuleFeatureSet to simplify iteration over CSS Selectors when collecting data. Also change all call ...
6 years, 11 months ago (2014-01-23 00:12:37 UTC) #1
esprehn
https://codereview.chromium.org/143653010/diff/50001/Source/core/css/RuleFeature.cpp File Source/core/css/RuleFeature.cpp (right): https://codereview.chromium.org/143653010/diff/50001/Source/core/css/RuleFeature.cpp#newcode136 Source/core/css/RuleFeature.cpp:136: m_metadata.add(metadata); Doesn't this mean we need to do more ...
6 years, 11 months ago (2014-01-23 01:13:28 UTC) #2
chrishtr
https://codereview.chromium.org/143653010/diff/50001/Source/core/css/RuleFeature.cpp File Source/core/css/RuleFeature.cpp (right): https://codereview.chromium.org/143653010/diff/50001/Source/core/css/RuleFeature.cpp#newcode136 Source/core/css/RuleFeature.cpp:136: m_metadata.add(metadata); On 2014/01/23 01:13:29, esprehn wrote: > Doesn't this ...
6 years, 11 months ago (2014-01-23 01:20:56 UTC) #3
esprehn
On 2014/01/23 01:20:56, Chris Harrelson wrote: > https://codereview.chromium.org/143653010/diff/50001/Source/core/css/RuleFeature.cpp > File Source/core/css/RuleFeature.cpp (right): > > https://codereview.chromium.org/143653010/diff/50001/Source/core/css/RuleFeature.cpp#newcode136 ...
6 years, 11 months ago (2014-01-23 01:33:50 UTC) #4
esprehn
On 2014/01/23 01:33:50, esprehn wrote: > ... > > Okay, watch the perf bots. lgtm
6 years, 11 months ago (2014-01-23 01:33:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/143653010/120001
6 years, 11 months ago (2014-01-23 01:36:32 UTC) #6
commit-bot: I haz the power
Retried try job too often on mac_layout for step(s) webkit_lint http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_layout&number=17749
6 years, 11 months ago (2014-01-23 02:28:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/143653010/380001
6 years, 11 months ago (2014-01-23 22:36:31 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=9042
6 years, 11 months ago (2014-01-24 01:25:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/143653010/500002
6 years, 11 months ago (2014-01-24 17:50:40 UTC) #10
commit-bot: I haz the power
6 years, 11 months ago (2014-01-24 18:55:19 UTC) #11
Message was sent while issue was closed.
Change committed as 165771

Powered by Google App Engine
This is Rietveld 408576698