Generate methods for SubtreeWillChangeContents in ComputedStyleBase.
This patch generates getters/setters for SubtreeWillChangeContents.
Diff of generated files:
https://gist.github.com/46ddf3dfedfbbc8a990e1c3acff6507d/revisions
Bug: 628043
Change-Id: I411be4511953bb15e9b626439179a8ea8ca1684a
Reviewed-on: https://chromium-review.googlesource.com/525214
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: Naina Raisinghani <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#477437}
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5 b/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
index 9d3fd3e..10258d5a 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
+++ b/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
@@ -467,10 +467,9 @@
{
name: "SubtreeWillChangeContents",
inherited: true,
- field_template: "storage_only",
+ field_template: "primitive",
type_name: "bool",
default_value: "false",
- field_size: 1,
field_group: "rare-inherited",
},
{
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 467681b..0fb31b4 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1547,9 +1547,6 @@
return rare_non_inherited_data_->will_change_data_
->will_change_scroll_position_;
}
- bool SubtreeWillChangeContents() const {
- return SubtreeWillChangeContentsInternal();
- }
void SetWillChangeProperties(const Vector<CSSPropertyID>& properties) {
SET_NESTED_VAR(rare_non_inherited_data_, will_change_data_,
will_change_properties_, properties);
@@ -1562,9 +1559,6 @@
SET_NESTED_VAR(rare_non_inherited_data_, will_change_data_,
will_change_scroll_position_, b);
}
- void SetSubtreeWillChangeContents(bool b) {
- SetSubtreeWillChangeContentsInternal(b);
- }
// z-index
int ZIndex() const { return ZIndexInternal(); }