From 383dd9dc58a142392907a3a975d5f3317cda5288 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Thu, 9 Mar 2017 13:39:02 -0500 Subject: Remove unused ownership argument to GrSurfaceProxy::MakeWrappedBackend This is the last public reference to GrWrapOwnership, so removal paves the way for moving it to somewhere internal. BUG=skia: Change-Id: I876298642ff812452a644c1d2b9519691eac44b9 Reviewed-on: https://skia-review.googlesource.com/9492 Reviewed-by: Brian Salomon Commit-Queue: Brian Osman --- src/gpu/GrSurfaceProxy.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/gpu/GrSurfaceProxy.cpp') 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)); } -- cgit v1.2.3