Index: tests/RecordingXfermodeTest.cpp |
diff --git a/tests/RecordingXfermodeTest.cpp b/tests/RecordingXfermodeTest.cpp |
index 05af84c377e89d98edbf05c9ccd08a67dbf746e9..0f91aea9648589e97bfdd82438555022b90a7433 100644 |
--- a/tests/RecordingXfermodeTest.cpp |
+++ b/tests/RecordingXfermodeTest.cpp |
@@ -114,7 +114,7 @@ class PictureStrategy : public RecordingStrategy { |
SkIntToScalar(fHeight), |
&factory); |
drawer.draw(canvas, canvasRect, mode); |
- SkAutoTUnref<SkPicture> picture(recorder.endRecording()); |
+ sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture()); |
SkCanvas replayCanvas(fBitmap); |
replayCanvas.clear(0xffffffff); |