Index: third_party/WebKit/Source/core/paint/PaintLayer.h |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h |
index 32cc020fd20abaf3b4e3d411f0ef0fba49985db8..c9b70553f4ea7dbc8c2a94aab43e245b11e1f0db 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h |
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h |
@@ -282,6 +282,8 @@ public: |
PaintLayer* enclosingLayerForPaintInvalidationCrossingFrameBoundaries() const; |
+ PaintLayer* enclosingSelfPaintingLayer() const; |
+ |
bool hasAncestorWithFilterOutsets() const; |
bool canUseConvertToLayerCoords() const |
@@ -621,6 +623,10 @@ public: |
PaintLayerPainter::PaintResult previousPaintResult() const { return static_cast<PaintLayerPainter::PaintResult>(m_previousPaintResult); } |
void setPreviousPaintResult(PaintLayerPainter::PaintResult result) { m_previousPaintResult = static_cast<unsigned>(result); ASSERT(m_previousPaintResult == static_cast<unsigned>(result)); } |
+ bool needsPaintPhaseChildOutlines() const { return m_needsPaintPhaseChildOutlines; } |
+ void setNeedsPaintPhaseChildOutlines() { ASSERT(isSelfPaintingLayer()); m_needsPaintPhaseChildOutlines = true; } |
+ void clearNeedsPaintPhaseChildOutlines() { ASSERT(isSelfPaintingLayer()); m_needsPaintPhaseChildOutlines = false; } |
+ |
PaintTiming* paintTiming(); |
private: |
@@ -753,6 +759,8 @@ private: |
unsigned m_needsRepaint : 1; |
unsigned m_previousPaintResult : 1; // PaintLayerPainter::PaintResult |
+ unsigned m_needsPaintPhaseChildOutlines : 1; |
+ |
LayoutBoxModelObject* m_layoutObject; |
PaintLayer* m_parent; |