Index: src/images/SkImageDecoder_pkm.cpp |
diff --git a/src/images/SkImageDecoder_pkm.cpp b/src/images/SkImageDecoder_pkm.cpp |
index 098a4ee0aee44b6d80d3e35e1916be94a6c54f85..af68f20d9775fea69a11ff7d85f096d7c2de6361 100644 |
--- a/src/images/SkImageDecoder_pkm.cpp |
+++ b/src/images/SkImageDecoder_pkm.cpp |
@@ -34,7 +34,7 @@ private: |
///////////////////////////////////////////////////////////////////////////////////////// |
SkImageDecoder::Result SkPKMImageDecoder::onDecode(SkStream* stream, SkBitmap* bm, Mode mode) { |
- SkAutoTUnref<SkData> data(SkCopyStreamToData(stream)); |
+ sk_sp<SkData> data(SkCopyStreamToData(stream)); |
if (!data || !data->size()) { |
return kFailure; |
} |