Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h |
index c432af05310ee715500d262b99059fd74a7ea1f3..3d991571fc1cfb2e89809bf106557a2063f3da10 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h |
@@ -181,6 +181,10 @@ public: |
bool hasNonEmptyLayoutSize() const; |
bool usesCompositedScrolling() const; |
+ // Checks if all of the background's layers can be painted as locally |
+ // attached. |
+ bool hasLocalEquivalentBackground() const; |
+ |
// These return the CSS computed padding values. |
LayoutUnit computedCSSPaddingTop() const { return computedCSSPadding(style()->paddingTop()); } |
LayoutUnit computedCSSPaddingBottom() const { return computedCSSPadding(style()->paddingBottom()); } |