Index: Source/platform/graphics/GraphicsLayer.cpp |
diff --git a/Source/platform/graphics/GraphicsLayer.cpp b/Source/platform/graphics/GraphicsLayer.cpp |
index 649ab82e2683b5da128a9af3a5715149d0b009f5..c3d8f2c00f5bc669589e79165af3b1cbf856e51e 100644 |
--- a/Source/platform/graphics/GraphicsLayer.cpp |
+++ b/Source/platform/graphics/GraphicsLayer.cpp |
@@ -273,6 +273,7 @@ void GraphicsLayer::paintGraphicsLayerContents(GraphicsContext& context, const I |
{ |
if (!m_client) |
return; |
+ m_debugInfo.setIncludesFirstPaintInvalidation(false); |
incrementPaintCount(); |
m_client->paintContents(this, context, m_paintingPhase, clip); |
} |
@@ -907,6 +908,11 @@ void GraphicsLayer::setNeedsDisplayInRect(const FloatRect& rect) |
} |
} |
+void GraphicsLayer::setIncludesFirstPaintInvalidation() |
+{ |
+ m_debugInfo.setIncludesFirstPaintInvalidation(true); |
+} |
+ |
void GraphicsLayer::setContentsRect(const IntRect& rect) |
{ |
if (rect == m_contentsRect) |