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

Issue 2831933003: Use generated copy and compare for OriginalDisplay in ComputedStyle. (Closed)

Created:
3 years, 8 months ago by shend
Modified:
3 years, 7 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use generated copy and compare for OriginalDisplay in ComputedStyle. The original_display_ field in ComputedStyle currently has generated storage, but not copy and compare. This patch makes it use generated copy and compare. Previously, 'has_custom_compare_and_copy' was set to true, so the generator did not generate a compare and copy for OriginalDisplay. By removing that line, we fall back to the default value of false, which means the generator will now generate a compare and copy. This patch does not change behaviour, as the newly generated code is the same as the code being removed. Diff of generated files: https://gist.github.com/darrnshn/942c8c2b4a5e42fe9b5c214388f0901f/revisions BUG=628043 Review-Url: https://codereview.chromium.org/2831933003 Cr-Commit-Position: refs/heads/master@{#467818} Committed: https://chromium.googlesource.com/chromium/src/+/a0d005f4f1d364bb312aeb25cbbea0d82a980a26

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -4 lines) Patch
M third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5 View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 2 chunks +0 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (20 generated)
shend
Hi Bugs, PTAL
3 years, 8 months ago (2017-04-21 03:53:47 UTC) #6
Bugs Nash
On 2017/04/21 at 03:53:47, shend wrote: > Hi Bugs, PTAL Please add to description changes ...
3 years, 8 months ago (2017-04-24 00:32:42 UTC) #9
shend
On 2017/04/24 at 00:32:42, bugsnash wrote: > On 2017/04/21 at 03:53:47, shend wrote: > > ...
3 years, 8 months ago (2017-04-24 00:41:00 UTC) #11
Bugs Nash
lgtm
3 years, 8 months ago (2017-04-26 23:17:50 UTC) #15
shend
Hi Alan, PTAL :)
3 years, 8 months ago (2017-04-26 23:18:50 UTC) #18
alancutter (OOO until 2018)
lgtm
3 years, 8 months ago (2017-04-27 07:11:40 UTC) #19
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/2831933003/20001
3 years, 7 months ago (2017-04-27 22:31:29 UTC) #25
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 01:52:52 UTC) #28
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a0d005f4f1d364bb312aeb25cbbe...

Powered by Google App Engine
This is Rietveld 408576698