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

Issue 2855873003: Split up the if checks in ComputedStyle to make them easy to generate (Closed)

Created:
3 years, 7 months ago by nainar
Modified:
3 years, 7 months ago
Reviewers:
meade_UTC10, shend
CC:
blink-reviews, blink-reviews-style_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Split up the if checks in ComputedStyle to make them easy to generate This patch splits up the iff checks in the diffing function ComputedStyle::UpdatePropertySpecificDifferences with the intention of making it easy to generate with the macro fieldwise_diff created here: https://codereview.chromium.org/2858863002 As can be seen in the try bot runs this has no perf impact BUG=710938 Review-Url: https://codereview.chromium.org/2855873003 Cr-Commit-Position: refs/heads/master@{#469268} Committed: https://chromium.googlesource.com/chromium/src/+/a26e3d4f16764fda0ed56f200af4d7fd17109ffe

Patch Set 1 #

Total comments: 2

Patch Set 2 : shend@ suggestions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -37 lines) Patch
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 2 chunks +52 lines, -37 lines 0 comments Download

Messages

Total messages: 23 (16 generated)
nainar
shend@ PTAL? Thanks! Perf results are part of the try bot run.
3 years, 7 months ago (2017-05-04 00:36:33 UTC) #7
shend
https://codereview.chromium.org/2855873003/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): https://codereview.chromium.org/2855873003/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode1080 third_party/WebKit/Source/core/style/ComputedStyle.cpp:1080: if (rare_inherited_data_.Get() != other.rare_inherited_data_.Get() && Not exactly the same ...
3 years, 7 months ago (2017-05-04 01:04:06 UTC) #9
shend
lgtm after comments
3 years, 7 months ago (2017-05-04 01:04:17 UTC) #10
nainar
shend@ made the changes you asked for. meade@ for OWNERS https://codereview.chromium.org/2855873003/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): https://codereview.chromium.org/2855873003/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode1080 ...
3 years, 7 months ago (2017-05-04 01:08:57 UTC) #13
meade_UTC10
lgtm
3 years, 7 months ago (2017-05-04 04:55:33 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/2855873003/20001
3 years, 7 months ago (2017-05-04 04:58:06 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 05:02:21 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a26e3d4f16764fda0ed56f200af4...

Powered by Google App Engine
This is Rietveld 408576698