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

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

Issue 653303003: Generalize paint chunks to clips, and implement clips in LayerPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed Created 6 years, 2 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/compositing/CompositedLayerMapping.cpp
diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
index c2d15b716ff74d0aa319f1af1b85c0df5dc9608e..4f73de28ceaa945bf026480a1581b326b5b0bf27 100644
--- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp
+++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
@@ -2139,9 +2139,9 @@ void CompositedLayerMapping::doPaintTask(const GraphicsLayerPaintInfo& paintInfo
#endif
if (RenderView* view = paintInfo.renderLayer->renderer()->view()) {
- const PaintCommandList& paintCommandList = view->viewDisplayList().paintCommandList();
- for (PaintCommandList::const_iterator it = paintCommandList.begin(); it != paintCommandList.end(); ++it)
- context->drawDisplayList(it->get()->displayList.get());
+ const PaintList& paintList = view->viewDisplayList().paintList();
+ for (PaintList::const_iterator it = paintList.begin(); it != paintList.end(); ++it)
+ (*it)->replay(context);
}
}
« Source/core/paint/LayerPainter.cpp ('K') | « Source/core/paint/ViewDisplayList.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698