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

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

Issue 247803003: Remove assumption that null containerForRepaint assumes RenderView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix zee nits Created 6 years, 8 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/RenderView.h ('k') | Source/web/LinkHighlight.cpp » ('j') | 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 010177cafe05a58b58976e9b57a56a6e213156e3..bb8cd74c68e8dfae4ebce528c24fd6dc99b0ebe3 100644
--- a/Source/core/rendering/compositing/RenderLayerCompositor.cpp
+++ b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
@@ -783,10 +783,7 @@ void RenderLayerCompositor::repaintOnCompositingChange(RenderLayer* layer)
return;
RenderLayerModelObject* repaintContainer = layer->renderer()->containerForRepaint();
- // FIXME: Repaint container should never be null. crbug.com/363699
- if (!repaintContainer)
- repaintContainer = &m_renderView;
-
+ ASSERT(repaintContainer);
layer->repainter().repaintIncludingNonCompositingDescendants(repaintContainer);
}
« no previous file with comments | « Source/core/rendering/RenderView.h ('k') | Source/web/LinkHighlight.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698