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

Issue 2326783002: Simplified compound feature extraction. (Closed)

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

Description

Simplified compound feature extraction. Started to return the last simple selector in the compound instead of the pointer to the next compound from extractInvalidationSetFeaturesFromCompound. That means we can update feature flags for the combinator from updateInvalidationSets, which also means we can get rid of the duplicated code for updating the nthInvalidationSet(). Additionally, we can use the siblingFeatures as initialized by updateFeaturesFromCombinator(). Removed unused UseFeatureTypes. There should be no functional changes. R=ericwilligers@chromium.org Committed: https://crrev.com/7496acab2a6b8a75615788f5f623018cefe1c0b1 Cr-Commit-Position: refs/heads/master@{#417915}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased #

Patch Set 3 : Addressed review comments. #

Patch Set 4 : Unreachable code detected by compiler. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -44 lines) Patch
M third_party/WebKit/Source/core/css/RuleFeature.h View 2 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/css/RuleFeature.cpp View 1 2 3 6 chunks +32 lines, -40 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
rune
ptal
4 years, 3 months ago (2016-09-08 21:30:34 UTC) #3
Eric Willigers
lgtm
4 years, 3 months ago (2016-09-11 23:28:38 UTC) #7
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/2326783002/1
4 years, 3 months ago (2016-09-11 23:28:42 UTC) #8
Eric Willigers
lgtm https://codereview.chromium.org/2326783002/diff/1/third_party/WebKit/Source/core/css/RuleFeature.cpp File third_party/WebKit/Source/core/css/RuleFeature.cpp (left): https://codereview.chromium.org/2326783002/diff/1/third_party/WebKit/Source/core/css/RuleFeature.cpp#oldcode526 third_party/WebKit/Source/core/css/RuleFeature.cpp:526: for (; simpleSelector; simpleSelector = simpleSelector->tagHistory()) { Another ...
4 years, 3 months ago (2016-09-11 23:58:03 UTC) #10
rune
Added a NOTREACHED() as end-of-method should no longer be reached. https://codereview.chromium.org/2326783002/diff/1/third_party/WebKit/Source/core/css/RuleFeature.cpp File third_party/WebKit/Source/core/css/RuleFeature.cpp (left): https://codereview.chromium.org/2326783002/diff/1/third_party/WebKit/Source/core/css/RuleFeature.cpp#oldcode526 ...
4 years, 3 months ago (2016-09-12 08:01:58 UTC) #11
Eric Willigers
lgtm
4 years, 3 months ago (2016-09-12 08:07:43 UTC) #13
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/2326783002/40001
4 years, 3 months ago (2016-09-12 08:07:54 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/255404)
4 years, 3 months ago (2016-09-12 08:44:41 UTC) #16
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/2326783002/60001
4 years, 3 months ago (2016-09-12 09:46:06 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-12 10:57:43 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 11:00:00 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7496acab2a6b8a75615788f5f623018cefe1c0b1
Cr-Commit-Position: refs/heads/master@{#417915}

Powered by Google App Engine
This is Rietveld 408576698