Index: src/android/SkBitmapRegionDecoder.cpp |
diff --git a/src/android/SkBitmapRegionDecoder.cpp b/src/android/SkBitmapRegionDecoder.cpp |
index 324d1be4a461241e1304f29d7de7b82b490d5a13..6dd48c5f8828ce4aa4412db25bd630134804e135 100644 |
--- a/src/android/SkBitmapRegionDecoder.cpp |
+++ b/src/android/SkBitmapRegionDecoder.cpp |
@@ -12,7 +12,7 @@ |
#include "SkCodecPriv.h" |
SkBitmapRegionDecoder* SkBitmapRegionDecoder::Create( |
- SkData* data, Strategy strategy) { |
+ sk_sp<SkData> data, Strategy strategy) { |
return SkBitmapRegionDecoder::Create(new SkMemoryStream(data), |
strategy); |
} |