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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp

Issue 2690583002: Make cc/paint have concrete types (Closed)
Patch Set: PaintRecord as typedef, fixup playback calls Created 3 years, 9 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: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
index 960e797a567a0e278c8e0bfb066efd0e17373b59..be15b61fc7cb2551c99c25cbfdc3bb0c67162669 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
@@ -945,7 +945,7 @@ void PaintLayerCompositor::paintContents(const GraphicsLayer* graphicsLayer,
DrawingRecorder drawingRecorder(context, *graphicsLayer,
DisplayItem::kScrollbarCompositedScrollbar,
layerBounds);
- builder.endRecording()->playback(context.canvas());
+ context.canvas()->drawPicture(builder.endRecording());
}
Scrollbar* PaintLayerCompositor::graphicsLayerToScrollbar(

Powered by Google App Engine
This is Rietveld 408576698