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

Issue 2887333003: Generate StyleRareInheritedData in ComputedStyleBase. (Closed)

Created:
3 years, 7 months ago by shend
Modified:
3 years, 7 months ago
Reviewers:
meade_UTC10, nainar
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

Generate StyleRareInheritedData in ComputedStyleBase. This patch generates StyleRareInheritedData in ComputedStyleBase. Because some fields are stored as smart pointers, we have to introduce a new parameter in the JSON file called "pointer_type_name", which is the name of the smart pointer type. As with the handwritten code, pointer fields are compared using DataEquivalent, not ==. All fields are generated as storage_only in this patch, but future patches may change that. Diff of generated files: https://gist.github.com/darrnshn/4ffa0198d36f4e0ff56ee0fc3b12619a/revisions BUG=628043 Review-Url: https://codereview.chromium.org/2887333003 Cr-Commit-Position: refs/heads/master@{#474510} Committed: https://chromium.googlesource.com/chromium/src/+/e66a502427e1744331aef5edf65c417dc244ae0c

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Total comments: 4

Patch Set 4 : Address nits #

Total comments: 2

Patch Set 5 : Address comments #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase #

Messages

Total messages: 33 (26 generated)
shend
Hi Naina, PTAL
3 years, 7 months ago (2017-05-21 23:49:50 UTC) #5
nainar
lgtm with nits. https://codereview.chromium.org/2887333003/diff/40001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl File third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl (right): https://codereview.chromium.org/2887333003/diff/40001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl#newcode14 third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl:14: #include "core/layout/LayoutTheme.h" Why did you have ...
3 years, 7 months ago (2017-05-21 23:59:35 UTC) #7
shend
Hi Eddy, PTAL https://codereview.chromium.org/2887333003/diff/40001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl File third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl (right): https://codereview.chromium.org/2887333003/diff/40001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl#newcode14 third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl:14: #include "core/layout/LayoutTheme.h" On 2017/05/21 at 23:59:35, ...
3 years, 7 months ago (2017-05-22 00:19:19 UTC) #10
meade_UTC10
lgtm https://codereview.chromium.org/2887333003/diff/60001/third_party/WebKit/Source/build/scripts/make_computed_style_base.py File third_party/WebKit/Source/build/scripts/make_computed_style_base.py (right): https://codereview.chromium.org/2887333003/diff/60001/third_party/WebKit/Source/build/scripts/make_computed_style_base.py#newcode113 third_party/WebKit/Source/build/scripts/make_computed_style_base.py:113: pointer_type_name: Name of the pointer type that wraps ...
3 years, 7 months ago (2017-05-23 04:49:52 UTC) #11
shend
https://codereview.chromium.org/2887333003/diff/60001/third_party/WebKit/Source/build/scripts/make_computed_style_base.py File third_party/WebKit/Source/build/scripts/make_computed_style_base.py (right): https://codereview.chromium.org/2887333003/diff/60001/third_party/WebKit/Source/build/scripts/make_computed_style_base.py#newcode113 third_party/WebKit/Source/build/scripts/make_computed_style_base.py:113: pointer_type_name: Name of the pointer type that wraps this ...
3 years, 7 months ago (2017-05-23 23:20:58 UTC) #14
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/2887333003/120001
3 years, 7 months ago (2017-05-25 01:17:17 UTC) #29
commit-bot: I haz the power
3 years, 7 months ago (2017-05-25 01:24:49 UTC) #33
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/e66a502427e1744331aef5edf65c...

Powered by Google App Engine
This is Rietveld 408576698