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

Issue 2911373002: Explicitly generate ComputedStyleBase subgroup copy constructors. (Closed)

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

Description

Explicitly generate ComputedStyleBase subgroup copy constructors. We currently use the default copy constructor for subgroups under ComputedStyleBase like StyleSurroundData. We've been able to do so because all fields had default copying behaviour. Now we want to generate StyleRareNonInheritedData, which has std::unique_ptr fields that cannot be copied by default. This means we have to explicitly generate user-defined copy constructors for these subgroups. This is in preparation for supporting custom copying behaviour for fields. Diff of generated files: https://gist.github.com/darrnshn/1c51e498c11b2798fbc962390a009060/revisions BUG=628043 Review-Url: https://codereview.chromium.org/2911373002 Cr-Commit-Position: refs/heads/master@{#475788} Committed: https://chromium.googlesource.com/chromium/src/+/4345e38cd114d781b630039d2cc0f18c7514f626

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M third_party/WebKit/Source/build/scripts/templates/fields/group.tmpl View 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (10 generated)
shend
Hi Naina, PTAL
3 years, 6 months ago (2017-05-30 22:53:01 UTC) #3
nainar
lgtm
3 years, 6 months ago (2017-05-31 00:07:50 UTC) #7
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/2911373002/1
3 years, 6 months ago (2017-05-31 04:01:12 UTC) #11
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 04:05:46 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/4345e38cd114d781b630039d2cc0...

Powered by Google App Engine
This is Rietveld 408576698