diff --git a/include/private/GrSurfaceProxy.h b/include/private/GrSurfaceProxy.h index 25a6fb3074..dd06f323fb 100644 --- a/include/private/GrSurfaceProxy.h +++ b/include/private/GrSurfaceProxy.h @@ -184,8 +184,7 @@ public: static sk_sp MakeWrappedBackend( GrContext*, - GrBackendTextureDesc&, - GrWrapOwnership ownership = kBorrow_GrWrapOwnership); + GrBackendTextureDesc&); const GrSurfaceDesc& desc() const { return fDesc; } diff --git a/src/gpu/GrSurfaceProxy.cpp b/src/gpu/GrSurfaceProxy.cpp index f95c312b1b..0c497506e1 100644 --- a/src/gpu/GrSurfaceProxy.cpp +++ b/src/gpu/GrSurfaceProxy.cpp @@ -238,9 +238,8 @@ sk_sp GrSurfaceProxy::MakeDeferred(const GrCaps& caps, } sk_sp GrSurfaceProxy::MakeWrappedBackend(GrContext* context, - GrBackendTextureDesc& desc, - GrWrapOwnership ownership) { - sk_sp tex(context->resourceProvider()->wrapBackendTexture(desc, ownership)); + GrBackendTextureDesc& desc) { + sk_sp tex(context->resourceProvider()->wrapBackendTexture(desc)); return GrSurfaceProxy::MakeWrapped(std::move(tex)); }