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

Issue 2740953003: Add TODO to deprecate ComputedStyle::operator==. (Closed)

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

Description

Add TODO to deprecate ComputedStyle::operator==. ComputedStyle::operator== excludes some data members in the comparison, and it's not clear what members are compared and what are not. Ideally, the equality operator would be replaced with a named method that better describes which data members are compared. BUG=628043 Review-Url: https://codereview.chromium.org/2740953003 Cr-Commit-Position: refs/heads/master@{#456177} Committed: https://chromium.googlesource.com/chromium/src/+/db0b85bc46d4602f7b275001f26cbf6052267d35

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebase #

Total comments: 1

Patch Set 3 : Address comments #

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

Messages

Total messages: 18 (11 generated)
shend
Hi Sasha, PTAL
3 years, 9 months ago (2017-03-09 22:26:45 UTC) #2
sashab
lgtm https://codereview.chromium.org/2740953003/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.h File third_party/WebKit/Source/core/style/ComputedStyle.h (right): https://codereview.chromium.org/2740953003/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.h#newcode2341 third_party/WebKit/Source/core/style/ComputedStyle.h:2341: // TODO(shend): deprecate operator== in favour of a ...
3 years, 9 months ago (2017-03-09 22:57:45 UTC) #3
shend
Re: naming convention for "isEqual", yeah I'll do it a separate patch. https://codereview.chromium.org/2740953003/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.h File third_party/WebKit/Source/core/style/ComputedStyle.h ...
3 years, 9 months ago (2017-03-09 23:07:57 UTC) #4
sashab
Still LGTM but... :) https://codereview.chromium.org/2740953003/diff/20001/third_party/WebKit/Source/core/style/ComputedStyle.h File third_party/WebKit/Source/core/style/ComputedStyle.h (right): https://codereview.chromium.org/2740953003/diff/20001/third_party/WebKit/Source/core/style/ComputedStyle.h#newcode2341 third_party/WebKit/Source/core/style/ComputedStyle.h:2341: // TODO(shend): Replace callers of ...
3 years, 9 months ago (2017-03-09 23:38:38 UTC) #5
shend
On 2017/03/09 at 23:38:38, sashab wrote: > Still LGTM but... :) > > https://codereview.chromium.org/2740953003/diff/20001/third_party/WebKit/Source/core/style/ComputedStyle.h > ...
3 years, 9 months ago (2017-03-09 23:45:51 UTC) #6
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/2740953003/40001
3 years, 9 months ago (2017-03-10 21:46:54 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 21:53:55 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/db0b85bc46d4602f7b275001f26c...

Powered by Google App Engine
This is Rietveld 408576698