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

Issue 2115803002: Clean up naming in ComputedStyle (Closed)

Created:
4 years, 5 months ago by sashab
Modified:
4 years, 5 months ago
CC:
blink-reviews, blink-reviews-style_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up naming in ComputedStyle Clean up some naming in ComputedStyle, as pre-work to adding a fast-path for inherited properties (which breaks up some of these functions even further, and relies on accurate naming of members and is confusing if they both use the term 'flags'). - Rename Non/InheritedFlags to Non/InheritedData (so as not to conflict with actual flags landing in the next patch) - Renamed inheritedNotEqual() methods on ComputedStyle and SVGComputedStyle to be inheritedEqual() instead, as this will be less confusing later - Changed operator== on ComputedStyle and SVGComputedStyle to use inheritedEqual() and nonInheritedEqual() internally, to reduce code repeats of fields - Renamed a bunch of fields in ComputedStyle to begin with m_ and use proper camelcase from style guide - Changed some ASSERTs to DCHECKs in ComputedStyle BUG=622138 Committed: https://crrev.com/2274fc8876bc69737f0092c44a6b80add1c7736e Cr-Commit-Position: refs/heads/master@{#403850}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Review feedback #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+325 lines, -312 lines) Patch
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 30 chunks +212 lines, -210 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 17 chunks +98 lines, -90 lines 0 comments Download
M third_party/WebKit/Source/core/style/SVGComputedStyle.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/SVGComputedStyle.cpp View 1 chunk +13 lines, -11 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (6 generated)
sashab
Sorry; the diff came out a little funny. But it's all mechanical changes with find/replace ...
4 years, 5 months ago (2016-07-01 06:59:51 UTC) #2
rune
https://codereview.chromium.org/2115803002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): https://codereview.chromium.org/2115803002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode349 third_party/WebKit/Source/core/style/ComputedStyle.cpp:349: { On 2016/07/01 06:59:50, sashab wrote: > This method ...
4 years, 5 months ago (2016-07-01 08:45:41 UTC) #3
sashab
On 2016/07/01 at 08:45:41, rune wrote: > https://codereview.chromium.org/2115803002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp > File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): > > https://codereview.chromium.org/2115803002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode349 ...
4 years, 5 months ago (2016-07-05 02:01:14 UTC) #4
sashab
timloh - mechanical change, ptal
4 years, 5 months ago (2016-07-05 02:01:55 UTC) #6
sashab
Doug pls review, mechanical change
4 years, 5 months ago (2016-07-05 02:38:14 UTC) #8
dstockwell
I think then general change is OK. But I'm not sure about renaming flags to ...
4 years, 5 months ago (2016-07-05 23:33:20 UTC) #9
sashab
elliot wdyt? :)
4 years, 5 months ago (2016-07-05 23:36:56 UTC) #11
esprehn
On 2016/07/05 at 23:36:56, sashab wrote: > elliot wdyt? :) If the external thing is ...
4 years, 5 months ago (2016-07-06 02:13:25 UTC) #12
sashab
4 years, 5 months ago (2016-07-06 03:49:15 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/2115803002/40001
4 years, 5 months ago (2016-07-06 04:25:53 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-06 04:30:16 UTC) #16
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-06 04:30:20 UTC) #17
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 04:32:43 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2274fc8876bc69737f0092c44a6b80add1c7736e
Cr-Commit-Position: refs/heads/master@{#403850}

Powered by Google App Engine
This is Rietveld 408576698