diff options
author | Brian Osman <brianosman@google.com> | 2017-03-09 13:39:02 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-09 19:21:22 +0000 |
commit | 383dd9dc58a142392907a3a975d5f3317cda5288 (patch) | |
tree | c3a404d8bab562f59de4b3cdc44617068d73b04d /src/gpu/GrSurfaceProxy.cpp | |
parent | c2d5bd01170ffd9fb0b41f20e0d1770249b4a300 (diff) |
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 <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/GrSurfaceProxy.cpp')
-rw-r--r-- | src/gpu/GrSurfaceProxy.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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<GrTextureProxy> GrSurfaceProxy::MakeDeferred(const GrCaps& caps, } sk_sp<GrSurfaceProxy> GrSurfaceProxy::MakeWrappedBackend(GrContext* context, - GrBackendTextureDesc& desc, - GrWrapOwnership ownership) { - sk_sp<GrTexture> tex(context->resourceProvider()->wrapBackendTexture(desc, ownership)); + GrBackendTextureDesc& desc) { + sk_sp<GrTexture> tex(context->resourceProvider()->wrapBackendTexture(desc)); return GrSurfaceProxy::MakeWrapped(std::move(tex)); } |