Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index 126f1d2548fa86dac88fc7024767a3a1ed3498ce..5d903fd074e13eb0f60337b93d0283f1c48f6188 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; } |
/** |