Index: src/core/SkImageCacherator.cpp |
diff --git a/src/core/SkImageCacherator.cpp b/src/core/SkImageCacherator.cpp |
index b4101f15c73b59ccffcf48b76eb6605ff52b342a..496ca74d9a1870a9195256b9b8cc43cc5f5dc235 100644 |
--- a/src/core/SkImageCacherator.cpp |
+++ b/src/core/SkImageCacherator.cpp |
@@ -288,7 +288,7 @@ GrTexture* SkImageCacherator::lockTexture(GrContext* ctx, const GrUniqueKey& key |
#ifdef SK_SUPPORT_COMPRESSED_TEXTURES_IN_CACHERATOR |
// 3. Ask the generator to return a compressed form that the GPU might support |
- SkAutoTUnref<SkData> data(this->refEncoded(ctx)); |
+ sk_sp<SkData> data(this->refEncoded(ctx)); |
if (data) { |
GrTexture* tex = load_compressed_into_texture(ctx, data, desc); |
if (tex) { |