Index: src/core/SkDrawable.cpp |
diff --git a/src/core/SkDrawable.cpp b/src/core/SkDrawable.cpp |
index 8fea38be34a46cf3f1ea820d558039b795195ff5..bf6d39cfca53f6bf73c43c6c60e94ded70661e84 100644 |
--- a/src/core/SkDrawable.cpp |
+++ b/src/core/SkDrawable.cpp |
@@ -81,5 +81,5 @@ SkPicture* SkDrawable::onNewPictureSnapshot() { |
if (false) { |
draw_bbox(canvas, bounds); |
} |
- return recorder.endRecording(); |
+ return recorder.finishRecordingAsPicture().release(); |
} |