| Index: third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
|
| index b6535bbb72a563b31c4a8484e8f097c1f64cadba..a96bbe970df825107d920fae4429c626a1350e84 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
|
| @@ -308,7 +308,7 @@ PassRefPtr<SkPicture> GraphicsContext::endRecording()
|
| if (contextDisabled())
|
| return nullptr;
|
|
|
| - RefPtr<SkPicture> picture = adoptRef(m_pictureRecorder.endRecordingAsPicture());
|
| + RefPtr<SkPicture> picture = fromSkSp(m_pictureRecorder.finishRecordingAsPicture());
|
| m_canvas = nullptr;
|
| ASSERT(picture);
|
| return picture.release();
|
|
|