| Index: samplecode/SampleAll.cpp
|
| diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp
|
| index 48ac24da1c45477dd84df3413375f02c52a08dfe..90fc5bdb166778455109cba722d340e92cde1e2d 100644
|
| --- a/samplecode/SampleAll.cpp
|
| +++ b/samplecode/SampleAll.cpp
|
| @@ -305,7 +305,7 @@ protected:
|
| SkCanvas* record = recorder.beginRecording(320, 480, nullptr, 0);
|
| this->drawPicture(record, 120);
|
| }
|
| - SkAutoTUnref<SkPicture> picture(recorder.endRecording());
|
| + sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture());
|
|
|
| canvas->translate(0, SkIntToScalar(120));
|
|
|
|
|