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

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: rebased 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 62336f563659bdeb02247c95cbe44d53d43ab0b1..39f7dbc89c94647d4d8ec82b12b96ff8ab36c695 100644
--- a/Source/core/rendering/RenderLayerRepainter.cpp
+++ b/Source/core/rendering/RenderLayerRepainter.cpp
@@ -121,6 +121,13 @@ void RenderLayerRepainter::setBackingNeedsPaintInvalidationInRect(const LayoutRe
}
}
+void RenderLayerRepainter::setBackingIncludesFirstPaintInvalidation()
+{
+ GraphicsLayer* backingLayer = m_renderer.layer()->graphicsLayerBacking();
chrishtr 2014/08/25 16:55:05 Per comment in RenderObject, get rid of this metho
kouhei (in TOK) 2014/08/26 14:18:18 Done.
+ if (backingLayer)
+ backingLayer->setIncludesFirstPaintInvalidation();
+}
+
void RenderLayerRepainter::setFilterBackendNeedsPaintInvalidationInRect(const LayoutRect& rect)
{
if (rect.isEmpty())

Powered by Google App Engine
This is Rietveld 408576698