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

Unified Diff: Source/core/rendering/compositing/RenderLayerCompositor.cpp

Issue 307713002: Refactor repainting logic to abstract away the specific repaint container. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix. Created 6 years, 7 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
« no previous file with comments | « Source/core/rendering/RenderReplaced.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/compositing/RenderLayerCompositor.cpp
diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.cpp b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
index 435b95f03c62af86d2da469ecb0fba47739a31ba..3e9cba133ac3fb10639de02117c7e14eeaee11f1 100644
--- a/Source/core/rendering/compositing/RenderLayerCompositor.cpp
+++ b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
@@ -622,9 +622,7 @@ void RenderLayerCompositor::repaintOnCompositingChange(RenderLayer* layer)
if (layer->renderer() != &m_renderView && !layer->renderer()->parent())
return;
- const RenderLayerModelObject* repaintContainer = layer->renderer()->containerForRepaint();
- ASSERT(repaintContainer);
- layer->repainter().repaintIncludingNonCompositingDescendants(repaintContainer);
+ layer->repainter().repaintIncludingNonCompositingDescendants();
}
// This method assumes that layout is up-to-date, unlike repaintOnCompositingChange().
« no previous file with comments | « Source/core/rendering/RenderReplaced.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698