| Index: src/gpu/GrTextureProxy.cpp
|
| diff --git a/src/gpu/GrTextureProxy.cpp b/src/gpu/GrTextureProxy.cpp
|
| index be09bd4024ab86dd5511de11da693a6d72af3b92..9aae7057c4999d3e7946a14961c9fe978dc8fc05 100644
|
| --- a/src/gpu/GrTextureProxy.cpp
|
| +++ b/src/gpu/GrTextureProxy.cpp
|
| @@ -65,8 +65,7 @@ sk_sp<GrTextureProxy> GrTextureProxy::Make(GrTextureProvider* texProvider,
|
| size_t rowBytes) {
|
| if (srcData) {
|
| // If we have srcData, for now, we create a wrapped GrTextureProxy
|
| - sk_sp<GrTexture> tex = sk_ref_sp(texProvider->createTexture(desc, budgeted,
|
| - srcData, rowBytes));
|
| + sk_sp<GrTexture> tex(texProvider->createTexture(desc, budgeted, srcData, rowBytes));
|
| return GrTextureProxy::Make(std::move(tex));
|
| }
|
|
|
|
|