DescriptionGenerate StyleBackgroundData in ComputedStyleBase.
This patch generates the following fields as part of a group:
- background ('storage_only' of type FillLayer)
- background_color ('storage_only' of type Color)
Since both fields correspond to shorthands, we specify them in
ComputedStyleExtraFields.json5.
All deleted code are correspondingly generated in
ComputedStyleBase, apart from the line
background_data_(o.background_data_)
which is implicit in the compiler generated ComputedStyleBase
copy constructor.
Diff of generated files:
https://gist.github.com/darrnshn/c2d2e7f7429b6281987c8f1ff6e2c313/revisions
BUG=628043
Review-Url: https://codereview.chromium.org/2861623002
Cr-Commit-Position: refs/heads/master@{#469566}
Committed: https://chromium.googlesource.com/chromium/src/+/8976caef37205d31c6b73aec7f008a652671f076
Patch Set 1 #
Total comments: 1
Depends on Patchset: Messages
Total messages: 17 (10 generated)
|