Index: src/core/SkPictureRecord.h |
diff --git a/src/core/SkPictureRecord.h b/src/core/SkPictureRecord.h |
index 089bc81ee56bb3cff93a11acb02e7796fe825c91..129f94f9b3477d5254f58e97ad84a23c88e9afd8 100644 |
--- a/src/core/SkPictureRecord.h |
+++ b/src/core/SkPictureRecord.h |
@@ -149,7 +149,7 @@ protected: |
SkASSERT(fWriter.bytesWritten() == initialOffset + size); |
} |
- SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override; |
+ sk_sp<SkSurface> onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override; |
bool onPeekPixels(SkPixmap*) override { return false; } |
void willSave() override; |