From f200a90f3e58ce20753420cadced850d7d00dca1 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Mon, 30 Jan 2017 13:27:37 -0500 Subject: Rationalize GrContext's Gr*Proxy getter naming This CL replaces the entry points: asDeferredSurface asDeferredTexture asDeferredRenderTarget with: GrSurfaceProxy* asSurfaceProxy sk_sp asSurfaceProxyRef GrTextureProxy* asTextureProxy sk_sp asTextureProxyRef GrRenderTargetProxy* asRenderTargetProxy sk_sp asRenderTargetProxyRef Change-Id: I7c2b1ea3d702023ff23019815ca13c9ff6f3b32d Reviewed-on: https://skia-review.googlesource.com/7741 Commit-Queue: Robert Phillips Reviewed-by: Brian Salomon --- gm/image_pict.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gm/image_pict.cpp') diff --git a/gm/image_pict.cpp b/gm/image_pict.cpp index 5394f6a656..7ddc84ddb3 100644 --- a/gm/image_pict.cpp +++ b/gm/image_pict.cpp @@ -265,7 +265,7 @@ protected: return nullptr; } - GrSurface* dstSurf = dstContext->asDeferredSurface()->instantiate(fCtx->textureProvider()); + GrSurface* dstSurf = dstContext->asSurfaceProxy()->instantiate(fCtx->textureProvider()); if (!dstSurf) { return nullptr; } -- cgit v1.2.3