Index: src/pdf/SkPDFDevice.h |
diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h |
index 138ec19b5938e3edc73a2ba4e2cfdff14a559e62..cfc2b546e86474e1a8b978e2ba43687fb82504f6 100644 |
--- a/src/pdf/SkPDFDevice.h |
+++ b/src/pdf/SkPDFDevice.h |
@@ -195,7 +195,7 @@ protected: |
return fLegacyBitmap; |
} |
- SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) override; |
+ sk_sp<SkSurface> makeSurface(const SkImageInfo&, const SkSurfaceProps&) override; |
void drawAnnotation(const SkDraw&, const SkRect&, const char key[], SkData* value) override; |