Index: third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
index 8e56c8cbbc3773f9a79283f8e1c7c272ebca019d..3abcd1efe80bec62ffc7c065851f86cdb26c1691 100644 |
--- a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
@@ -99,14 +99,14 @@ void RecordingImageBufferSurface::fallBackToRasterCanvas( |
m_fallbackSurface->setImageBuffer(m_imageBuffer); |
if (m_previousFrame) { |
- m_previousFrame->playback(m_fallbackSurface->canvas()); |
+ m_fallbackSurface->canvas()->drawPicture(m_previousFrame); |
m_previousFrame.reset(); |
} |
if (m_currentFrame) { |
sk_sp<PaintRecord> record = m_currentFrame->finishRecordingAsPicture(); |
if (record) |
- record->playback(m_fallbackSurface->canvas()); |
+ m_fallbackSurface->canvas()->drawPicture(record); |
m_currentFrame.reset(); |
} |