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

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

Issue 698743002: [WIP] Adding support for <iframe>s to slimming paint. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/compositing/CompositedLayerMapping.cpp
diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
index 157a02d074210fcd5d45aa45fc72f5ccd6b072fb..fa4f11d8e79f9e104483db67fea8d8f58a48fabc 100644
--- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp
+++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
@@ -2158,8 +2158,8 @@ void CompositedLayerMapping::doPaintTask(const GraphicsLayerPaintInfo& paintInfo
context->fillRect(dirtyRect, Color(0xFF, 0, 0));
#endif
- if (RenderView* view = paintInfo.renderLayer->renderer()->view()) {
- const PaintList& paintList = view->viewDisplayList().paintList();
+ if (paintInfo.renderLayer->renderer()->view()) {
+ const PaintList& paintList = ViewDisplayList::fromRenderLayer(paintInfo.renderLayer).paintList();
for (PaintList::const_iterator it = paintList.begin(); it != paintList.end(); ++it)
(*it)->replay(context);
}
« Source/core/paint/TranslationRecorder.cpp ('K') | « Source/core/rendering/RenderView.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698