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 4d6e668571d57527382a82b3ec31ddd109fef4bb..132d20d7aaf153828e66ff770357787749094eda 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
@@ -9,6 +9,7 @@ |
#include "core/style/ComputedStyleConstants.h" |
#include "core/CoreExport.h" |
#include "core/style/DataRef.h" |
+#include "core/style/StyleDifference.h" |
{% for path in include_paths %} |
#include "{{path}}" |
{% endfor %} |
@@ -84,6 +85,10 @@ class CORE_EXPORT ComputedStyleBase { |
IsAtShadowBoundary isAtShadowBoundary = kNotAtShadowBoundary); |
void CopyNonInheritedFromCached(const ComputedStyleBase& other); |
+ bool DiffNeedsFullLayoutAndPaintInvalidation( |
+ const ComputedStyleBase& other) const; |
+ bool ScrollAnchorDisablingPropertyChanged(const ComputedStyleBase& other, |
+ const StyleDifference&) const; |
// Copies the values of any independent inherited properties from the parent |
// style that are marked as inherited by this style. |