| 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 28006cabf0a4aea5176a84566b9fe40aa7936b2f..c95085d1a8264637c45247b1a65e0960256c8658 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
|
| @@ -1,5 +1,5 @@
|
| {% from 'macros.tmpl' import license, print_if %}
|
| -{% from 'fields/field.tmpl' import encode, getter_expression, setter_expression, declare_storage, fieldwise_compare, fieldwise_copy, fieldwise_diff %}
|
| +{% from 'fields/field.tmpl' import encode, getter_expression, setter_expression, declare_storage, fieldwise_compare, fieldwise_copy, fieldwise_diff, fieldwise_pointer_compare_inherited %}
|
| {% from 'fields/group.tmpl' import define_field_group_class %}
|
| {{license()}}
|
|
|
| @@ -95,6 +95,13 @@ class CORE_EXPORT ComputedStyleBase {
|
| );
|
| }
|
|
|
| + inline bool InheritedDataShared(const ComputedStyleBase& o) const {
|
| + return (
|
| + {{fieldwise_pointer_compare_inherited(computed_style)|indent(8)}}
|
| + true
|
| + );
|
| + }
|
| +
|
| enum IsAtShadowBoundary {
|
| kAtShadowBoundary,
|
| kNotAtShadowBoundary,
|
|
|