From 22115b4fc6ab169d45a1cfb65dae2dc7e544c80a Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Tue, 25 Jul 2017 08:37:16 -0400 Subject: Reduce dependence on GrSurface's origin field (take 2) TBR=bsalomon@google.com Change-Id: Ia238fc66b0fe10a3626c7967b2ac1f1a4bf4cd71 Reviewed-on: https://skia-review.googlesource.com/25800 Reviewed-by: Robert Phillips Commit-Queue: Robert Phillips --- tests/ResourceAllocatorTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/ResourceAllocatorTest.cpp') diff --git a/tests/ResourceAllocatorTest.cpp b/tests/ResourceAllocatorTest.cpp index 96db1f7722..4aa055d431 100644 --- a/tests/ResourceAllocatorTest.cpp +++ b/tests/ResourceAllocatorTest.cpp @@ -56,7 +56,7 @@ static sk_sp make_backend(GrContext* context, const ProxyParams& sk_sp tex = context->resourceProvider()->wrapBackendTexture( backendTex, p.fOrigin, kBorrow_GrWrapOwnership); - return GrSurfaceProxy::MakeWrapped(std::move(tex)); + return GrSurfaceProxy::MakeWrapped(std::move(tex), p.fOrigin); } static void cleanup_backend(GrContext* context, GrBackendObject* backendTexHandle) { -- cgit v1.2.3