Generate 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}
Showing
Please register or sign in to comment