Index: third_party/WebKit/Source/core/layout/PaintInvalidationState.h |
diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.h b/third_party/WebKit/Source/core/layout/PaintInvalidationState.h |
index 22962f2a486d888b8114b711d19567608f9b7950..a44be56a3706bd3ac35ef4e8548e732a73962eae 100644 |
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.h |
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.h |
@@ -16,6 +16,7 @@ class LayoutBoxModelObject; |
class LayoutObject; |
class LayoutSVGModelObject; |
class LayoutView; |
+class PaintLayer; |
class PaintInvalidationState { |
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
@@ -58,6 +59,8 @@ public: |
bool viewClippingAndScrollOffsetDisabled() const { return m_viewClippingAndScrollOffsetDisabled; } |
void setViewClippingAndScrollOffsetDisabled(bool b) { m_viewClippingAndScrollOffsetDisabled = b; } |
+ PaintLayer& enclosingLayer() const { return m_enclosingLayer; } |
+ |
private: |
PaintInvalidationState(const LayoutView&, Vector<LayoutObject*>& pendingDelayedPaintInvalidations, PaintInvalidationState* ownerPaintInvalidationState); |
@@ -85,6 +88,8 @@ private: |
AffineTransform m_svgTransform; |
Vector<LayoutObject*>& m_pendingDelayedPaintInvalidations; |
+ |
+ PaintLayer& m_enclosingLayer; |
}; |
} // namespace blink |