Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index cd13d5482e97d1e32f848d9993771601c7b8d674..73393422560aa7354d3d6d1ddafc68cc0788fff5 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -296,7 +296,7 @@ protected: |
} |
protected: |
- virtual SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) { return NULL; } |
+ virtual sk_sp<SkSurface> makeSurface(const SkImageInfo&, const SkSurfaceProps&); |
virtual bool onPeekPixels(SkPixmap*) { return false; } |
/** |