diff options
Diffstat (limited to 'src/core/SkRecorder.h')
-rw-r--r-- | src/core/SkRecorder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkRecorder.h b/src/core/SkRecorder.h index 44fb839d59..1299efbdd6 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(); |