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 }