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

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

Issue 337793004: Repaint squashing content in cases where the entire frame is repainting. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 108488b711cda6327539b245882e30ff0b424ad0..bfc174b2036bf34ed7f5e080801dd3915a2d1db9 100644
--- a/Source/core/rendering/RenderLayerRepainter.cpp
+++ b/Source/core/rendering/RenderLayerRepainter.cpp
@@ -184,14 +184,6 @@ LayoutRect RenderLayerRepainter::repaintRectIncludingNonCompositingDescendants()
return repaintRect;
}
-void RenderLayerRepainter::setBackingNeedsRepaint()
-{
- // There is only one call site, and that call site ensures that the compositing state is PaintsIntoOwnBacking.
- ASSERT(m_renderer.compositingState() == PaintsIntoOwnBacking);
-
- m_renderer.compositedLayerMapping()->setContentsNeedDisplay();
-}
-
void RenderLayerRepainter::setBackingNeedsRepaintInRect(const LayoutRect& r)
{
// https://bugs.webkit.org/show_bug.cgi?id=61159 describes an unreproducible crash here,

Powered by Google App Engine
This is Rietveld 408576698