Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index 8e4640755c1120e710db6752a5d7daf7ad7eb61a..15c5ea6bd82f38c670e2592272c097e5dff1f123 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -134,7 +134,7 @@ SkData* SkImage::encode(SkPixelSerializer* serializer) const { |
SkASSERT(defaultSerializer.get()); |
effectiveSerializer = defaultSerializer.get(); |
} |
- SkAutoTUnref<SkData> encoded(this->refEncoded()); |
+ sk_sp<SkData> encoded(this->refEncoded()); |
if (encoded && effectiveSerializer->useEncodedData(encoded->data(), encoded->size())) { |
return encoded.release(); |
} |