Index: src/core/SkRecorder.h |
diff --git a/src/core/SkRecorder.h b/src/core/SkRecorder.h |
index 44fb839d59880fe0359664dd51e06fa921ffa4a2..1299efbdd6deee419e718dd01cee22dc393080b2 100644 |
--- a/src/core/SkRecorder.h |
+++ b/src/core/SkRecorder.h |
@@ -122,7 +122,7 @@ public: |
void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) override; |
void onDrawAnnotation(const SkRect&, const char[], SkData*) override; |
- SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override { return nullptr; } |
+ sk_sp<SkSurface> onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override; |
void flushMiniRecorder(); |