Index: include/core/SkBitmapDevice.h |
diff --git a/include/core/SkBitmapDevice.h b/include/core/SkBitmapDevice.h |
index d1cb9ad0f8665fd2152ad419621d33df483d2995..b53bfd06224c409901f3863eb419362db1323abb 100644 |
--- a/include/core/SkBitmapDevice.h |
+++ b/include/core/SkBitmapDevice.h |
@@ -160,7 +160,7 @@ private: |
SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override; |
- SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) override; |
+ sk_sp<SkSurface> makeSurface(const SkImageInfo&, const SkSurfaceProps&) override; |
SkImageFilter::Cache* getImageFilterCache() override; |