From b4fd893fb080697fc265f52233042502e9fa2615 Mon Sep 17 00:00:00 2001 From: caryclark Date: Fri, 21 Aug 2015 08:08:07 -0700 Subject: [PATCH] add old fix for iOS SampleApp TBR=jvanverth@google.com BUG=skia:3845 Review URL: https://codereview.chromium.org/1302413003 --- experimental/iOSSampleApp/SkSampleUIView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experimental/iOSSampleApp/SkSampleUIView.mm b/experimental/iOSSampleApp/SkSampleUIView.mm index c0e27d6805..f442f5a074 100644 --- a/experimental/iOSSampleApp/SkSampleUIView.mm +++ b/experimental/iOSSampleApp/SkSampleUIView.mm @@ -161,7 +161,7 @@ public: desc.fStencilBits = info.fStencilBits; SkSafeUnref(fCurRenderTarget); - fCurRenderTarget = fCurContext->wrapBackendRenderTarget(desc); + fCurRenderTarget = fCurContext->textureProvider()->wrapBackendRenderTarget(desc); } #endif }