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( |