| Index: src/image/SkImage_Gpu.cpp
|
| diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp
|
| index 6cce96c1f7507113afe9fa6d43c906512e74f50f..c795d54fcbb0aaf68bbd63c7e034cfda8e0f7af4 100644
|
| --- a/src/image/SkImage_Gpu.cpp
|
| +++ b/src/image/SkImage_Gpu.cpp
|
| @@ -440,7 +440,7 @@ size_t SkImage::getDeferredTextureImageData(const GrContextThreadSafeProxy& prox
|
| // Here we're just using presence of data to know whether there is a codec behind the image.
|
| // In the future we will access the cacherator and get the exact data that we want to (e.g.
|
| // yuv planes) upload.
|
| - SkAutoTUnref<SkData> data(this->refEncoded());
|
| + sk_sp<SkData> data(this->refEncoded());
|
| if (!data && !this->peekPixels(nullptr)) {
|
| return 0;
|
| }
|
|
|