Index: src/pdf/SkPDFBitmap.h |
diff --git a/src/pdf/SkPDFBitmap.h b/src/pdf/SkPDFBitmap.h |
index b0254c1f551fbb97b7b6bc4b7c6a2d88feabf42f..86beef31cee3ba2184940f542b23e612ff72b6a9 100644 |
--- a/src/pdf/SkPDFBitmap.h |
+++ b/src/pdf/SkPDFBitmap.h |
@@ -16,6 +16,7 @@ class SkImage; |
* It is designed to use a minimal amout of memory, aside from refing |
* the image, and its emitObject() does not cache any data. |
*/ |
-SkPDFObject* SkPDFCreateBitmapObject(const SkImage*, SkPixelSerializer*); |
+sk_sp<SkPDFObject> SkPDFCreateBitmapObject(sk_sp<SkImage>, |
+ SkPixelSerializer*); |
#endif // SkPDFBitmap_DEFINED |