aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrContextPriv.h
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-03-09 14:19:20 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-09 20:45:00 +0000
commitc1e37059a84044db2db5ae90fa0dd7c7278d9f66 (patch)
tree2e84f2e1546e4dd5a38ee53edfb343f41e84d250 /src/gpu/GrContextPriv.h
parentfb58f14643e0935d853e015f77d76c3d4cee47ac (diff)
Remove more unused ownership arguments
Technically, we only ever pass kAdopt along one specific code path, but the remaining functions that have it are at least all similar. This was another outlier that seems unlikely to ever benefit. BUG=skia: Change-Id: If9a1275a2a0b83417225660f5e18c2133681830a Reviewed-on: https://skia-review.googlesource.com/9494 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrContextPriv.h')
-rw-r--r--src/gpu/GrContextPriv.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gpu/GrContextPriv.h b/src/gpu/GrContextPriv.h
index 9128cf4c7e..c70381fe43 100644
--- a/src/gpu/GrContextPriv.h
+++ b/src/gpu/GrContextPriv.h
@@ -39,14 +39,12 @@ public:
// TODO: Maybe add a 'surfaceProps' param (that is ignored for non-RTs) and remove
// makeBackendTextureRenderTargetContext & makeBackendTextureAsRenderTargetRenderTargetContext
sk_sp<GrSurfaceContext> makeBackendSurfaceContext(const GrBackendTextureDesc& desc,
- sk_sp<SkColorSpace> colorSpace,
- GrWrapOwnership = kBorrow_GrWrapOwnership);
+ sk_sp<SkColorSpace> colorSpace);
sk_sp<GrRenderTargetContext> makeBackendTextureRenderTargetContext(
const GrBackendTextureDesc& desc,
sk_sp<SkColorSpace> colorSpace,
- const SkSurfaceProps* = nullptr,
- GrWrapOwnership = kBorrow_GrWrapOwnership);
+ const SkSurfaceProps* = nullptr);
sk_sp<GrRenderTargetContext> makeBackendRenderTargetRenderTargetContext(
const GrBackendRenderTargetDesc& desc,