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

Issue 2829213002: Clean up ComputedStyle field templates. (Closed)

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

Description

Clean up ComputedStyle field templates. This patch reduces code duplication by making the macros in field.tmpl and base.tmpl more generic and granular. - Rename argument_type(field) -> const_ref(field) - Rename return_type(field) -> nonconst_ref(field) - Split base.decl_public_methods into: - base.decl_initial_method - base.decl_getter_method - base.decl_setter_method - base.decl_resetter_method - Split base.decl_protected_methods into: - base.decl_mutable_method - base.decl_internal_getter_method - base.decl_internal_setter_method Diff of generated files: https://gist.github.com/darrnshn/a4f1071f9901d5d4b321ebd166c10dfa/revisions BUG=628043 Review-Url: https://codereview.chromium.org/2829213002 Cr-Commit-Position: refs/heads/master@{#466255} Committed: https://chromium.googlesource.com/chromium/src/+/a83d36d99006b177f36fccbe214fdc3614ec8486

Patch Set 1 #

Messages

Total messages: 13 (9 generated)
shend
Hi Naina, PTAL :)
3 years, 8 months ago (2017-04-21 01:39:22 UTC) #5
nainar
lgtm
3 years, 8 months ago (2017-04-21 03:56:58 UTC) #8
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/2829213002/1
3 years, 8 months ago (2017-04-21 04:05:03 UTC) #10
commit-bot: I haz the power
3 years, 8 months ago (2017-04-21 04:10:19 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/a83d36d99006b177f36fccbe214f...

Powered by Google App Engine
This is Rietveld 408576698