Index: src/codec/SkCodec.cpp |
diff --git a/src/codec/SkCodec.cpp b/src/codec/SkCodec.cpp |
index 2372f4ce5b04457a921d0a82f4551f49e73c0b95..b076954adcbcef936a9d859a49b4af6b60ebb070 100644 |
--- a/src/codec/SkCodec.cpp |
+++ b/src/codec/SkCodec.cpp |
@@ -107,7 +107,7 @@ SkCodec* SkCodec::NewFromStream(SkStream* stream, |
return nullptr; |
} |
-SkCodec* SkCodec::NewFromData(SkData* data, SkPngChunkReader* reader) { |
+SkCodec* SkCodec::NewFromData(sk_sp<SkData> data, SkPngChunkReader* reader) { |
if (!data) { |
return nullptr; |
} |