Index: gm/pathopsskpclip.cpp |
diff --git a/gm/pathopsskpclip.cpp b/gm/pathopsskpclip.cpp |
index 1c8cf99cb8ed1985da8aff4ecb570f81094d7aa0..b52e8bbc902a934a20ed05b752ca4698c4361518 100644 |
--- a/gm/pathopsskpclip.cpp |
+++ b/gm/pathopsskpclip.cpp |
@@ -47,7 +47,7 @@ protected: |
rec->translate(SkIntToScalar(250), SkIntToScalar(250)); |
rec->clipPath(p, SkRegion::kIntersect_Op, true); |
rec->drawColor(0xffff0000); |
- SkAutoTUnref<SkPicture> pict(recorder.endRecording()); |
+ sk_sp<SkPicture> pict(recorder.finishRecordingAsPicture()); |
canvas->setAllowSimplifyClip(true); |
canvas->save(); |