Index: include/android/SkBitmapRegionDecoder.h |
diff --git a/include/android/SkBitmapRegionDecoder.h b/include/android/SkBitmapRegionDecoder.h |
index 913f9476fb27411f988e5ba69b02b09f3c99b456..b8922d4697712b25661054958d0e77dc6beb01ba 100644 |
--- a/include/android/SkBitmapRegionDecoder.h |
+++ b/include/android/SkBitmapRegionDecoder.h |
@@ -29,8 +29,7 @@ public: |
* @param strategy Strategy used for scaling and subsetting |
* @return Tries to create an SkBitmapRegionDecoder, returns NULL on failure |
*/ |
- static SkBitmapRegionDecoder* Create( |
- SkData* data, Strategy strategy); |
+ static SkBitmapRegionDecoder* Create(sk_sp<SkData>, Strategy strategy); |
/* |
* @param stream Takes ownership of the stream |