Index: tests/PictureBBHTest.cpp |
diff --git a/tests/PictureBBHTest.cpp b/tests/PictureBBHTest.cpp |
index 0a0d3da914b594f1b584a267b6ca2ea2a4708ce0..deb299ae69b51f564e1c197020168c5ca3367172 100644 |
--- a/tests/PictureBBHTest.cpp |
+++ b/tests/PictureBBHTest.cpp |
@@ -45,7 +45,7 @@ private: |
SkIntToScalar(fPictureHeight), |
factory); |
this->doTest(playbackCanvas, *recordCanvas); |
- SkAutoTUnref<SkPicture> picture(recorder.endRecording()); |
+ sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture()); |
playbackCanvas.drawPicture(picture); |
REPORTER_ASSERT(reporter, SK_ColorGREEN == fResultBitmap.getColor(0, 0)); |
} |