Index: tools/android/SkAndroidSDKCanvas.h |
diff --git a/tools/android/SkAndroidSDKCanvas.h b/tools/android/SkAndroidSDKCanvas.h |
index 68a53816c66a3f0b0838be5c19b102df7789d13b..812775f185bda0e124b4b0aa5490f8eb94202a28 100644 |
--- a/tools/android/SkAndroidSDKCanvas.h |
+++ b/tools/android/SkAndroidSDKCanvas.h |
@@ -87,7 +87,7 @@ protected: |
bool getClipDeviceBounds(SkIRect*) const override; |
bool isClipEmpty() const override; |
bool isClipRect() const override; |
- SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override; |
+ sk_sp<SkSurface> onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override; |
bool onPeekPixels(SkPixmap*) override; |
bool onAccessTopLayerPixels(SkPixmap*) override; |
void willSave() override; |