Index: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
diff --git a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
index 03a48012e77dde6c9d76d4582bd0b1692826e4ba..bbd444f08313a406cf7f2d8d000f3c8884636d13 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
@@ -81,7 +81,7 @@ class CORE_EXPORT ComputedStyleBase { |
{% for field in fields %} |
// {{field.property_name}} |
- {{field_templates[field.field_template].decl_methods(field)|indent(2)}} |
+ {{field_templates[field.field_template].decl_public_methods(field)|indent(2)}} |
{% endfor %} |
protected: |
@@ -93,6 +93,14 @@ class CORE_EXPORT ComputedStyleBase { |
{% endfor %} |
{} |
+ {% for field in fields %} |
+ {% if field.field_template in ('storage_only', 'monotonic_flag', 'external') %} |
+ // {{field.property_name}} |
+ {{field_templates[field.field_template].decl_protected_methods(field)|indent(2)}} |
+ |
+ {% endif %} |
+ {% endfor %} |
+ |
~ComputedStyleBase() = default; |
// Storage. |