| 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 39d1c62cc713aafc726b37e2885ab64a536a9bd6..d57ddf6483fd17bce36245854d7c79ce03a987dc 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;
|
|
|
| // PaintInvalidationState is an optimization used during the paint
|
| // invalidation phase.
|
| @@ -67,6 +68,8 @@ public:
|
| bool viewClippingAndScrollOffsetDisabled() const { return m_viewClippingAndScrollOffsetDisabled; }
|
| void setViewClippingAndScrollOffsetDisabled(bool b) { m_viewClippingAndScrollOffsetDisabled = b; }
|
|
|
| + PaintLayer& enclosingLayer(const LayoutObject&) const;
|
| +
|
| private:
|
| PaintInvalidationState(const LayoutView&, Vector<LayoutObject*>& pendingDelayedPaintInvalidations, PaintInvalidationState* ownerPaintInvalidationState);
|
|
|
| @@ -97,6 +100,8 @@ private:
|
| AffineTransform m_svgTransform;
|
|
|
| Vector<LayoutObject*>& m_pendingDelayedPaintInvalidations;
|
| +
|
| + PaintLayer& m_enclosingLayer;
|
| };
|
|
|
| } // namespace blink
|
|
|