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

Issue 2305593002: Refactored invalidation set extraction. (Closed)

Created:
4 years, 3 months ago by rune
Modified:
4 years, 3 months ago
Reviewers:
esprehn, Eric Willigers
CC:
chromium-reviews, webcomponents-bugzilla_chromium.org, blink-reviews-css, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactored invalidation set extraction. Refactor into smaller more descriptive methods. Implemented InvalidationSetFeatures::add() and hasFeatures() to add features conditionally for selector lists like in :-webkit-any() instead of tracking non-feature compounds using a foundFeatures variable. Committed: https://crrev.com/272daf817262c3964a6ac5f51f2cf48fd1efd430 Cr-Commit-Position: refs/heads/master@{#416912}

Patch Set 1 #

Patch Set 2 : Rebased. #

Patch Set 3 : Missing forceSubtree propagation. #

Total comments: 6

Patch Set 4 : Fixed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -181 lines) Patch
M third_party/WebKit/Source/core/css/CSSSelector.h View 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/RuleFeature.h View 1 4 chunks +21 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/css/RuleFeature.cpp View 1 2 3 11 chunks +260 lines, -172 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (18 generated)
rune
Tried to refactor the invalidation set extraction code into smaller more descriptive methods, and got ...
4 years, 3 months ago (2016-09-02 10:10:26 UTC) #11
Eric Willigers
https://codereview.chromium.org/2305593002/diff/40001/third_party/WebKit/Source/core/css/RuleFeature.cpp File third_party/WebKit/Source/core/css/RuleFeature.cpp (right): https://codereview.chromium.org/2305593002/diff/40001/third_party/WebKit/Source/core/css/RuleFeature.cpp#newcode428 third_party/WebKit/Source/core/css/RuleFeature.cpp:428: // rightmost compound selector (extractInvalidationSetFeatures). Secondly, extractInvalidationSetFeatures becomes extractInvalidationSetFeaturesFromCompound ...
4 years, 3 months ago (2016-09-03 02:57:57 UTC) #14
rune
https://codereview.chromium.org/2305593002/diff/40001/third_party/WebKit/Source/core/css/RuleFeature.cpp File third_party/WebKit/Source/core/css/RuleFeature.cpp (right): https://codereview.chromium.org/2305593002/diff/40001/third_party/WebKit/Source/core/css/RuleFeature.cpp#newcode428 third_party/WebKit/Source/core/css/RuleFeature.cpp:428: // rightmost compound selector (extractInvalidationSetFeatures). Secondly, On 2016/09/03 02:57:57, ...
4 years, 3 months ago (2016-09-05 08:16:20 UTC) #15
Eric Willigers
lgtm
4 years, 3 months ago (2016-09-06 15:01:01 UTC) #16
rune
esprehn@: since you triggered this refactor, I'll hold back landing to see if you have ...
4 years, 3 months ago (2016-09-06 15:18:27 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2305593002/60001
4 years, 3 months ago (2016-09-07 08:46:13 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-07 11:51:39 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 11:53:08 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/272daf817262c3964a6ac5f51f2cf48fd1efd430
Cr-Commit-Position: refs/heads/master@{#416912}

Powered by Google App Engine
This is Rietveld 408576698