Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1286)

Unified Diff: Source/core/rendering/RenderLayerRepainter.cpp

Issue 474793002: Add GraphicsLayerDebugInfo::includesNewPaintInvalidation to distinguish paint from new RenderObjects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: use GraphicsLayerInfo Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/RenderLayerRepainter.cpp
diff --git a/Source/core/rendering/RenderLayerRepainter.cpp b/Source/core/rendering/RenderLayerRepainter.cpp
index d885c7b38f59a36b863bfebedf941558db8fe969..bf88cd32b4b576b14cba7bd591f0e9a776fd3f4a 100644
--- a/Source/core/rendering/RenderLayerRepainter.cpp
+++ b/Source/core/rendering/RenderLayerRepainter.cpp
@@ -137,6 +137,13 @@ void RenderLayerRepainter::setBackingNeedsPaintInvalidationInRect(const LayoutRe
}
}
+void RenderLayerRepainter::setBackingIncludesFirstPaintInvalidation()
+{
+ GraphicsLayer* backingLayer = m_renderer.layer()->graphicsLayerBacking();
+ if (backingLayer)
+ backingLayer->setIncludesFirstPaintInvalidation();
+}
+
void RenderLayerRepainter::setFilterBackendNeedsPaintInvalidationInRect(const LayoutRect& rect)
{
if (rect.isEmpty())

Powered by Google App Engine
This is Rietveld 408576698