Index: src/views/SkWindow.cpp |
diff --git a/src/views/SkWindow.cpp b/src/views/SkWindow.cpp |
index 61eaa978b15dc92d7b0f3009eeda25ea617244f1..f222715fcfe32feb26aa68d2589c2e0a292e5aca 100644 |
--- a/src/views/SkWindow.cpp |
+++ b/src/views/SkWindow.cpp |
@@ -360,7 +360,7 @@ GrRenderTarget* SkWindow::renderTarget(const AttachmentInfo& attachmentInfo, |
GrGLint buffer; |
GR_GL_GetIntegerv(interface, GR_GL_FRAMEBUFFER_BINDING, &buffer); |
desc.fRenderTargetHandle = buffer; |
- return grContext->wrapBackendRenderTarget(desc); |
+ return grContext->textureProvider()->wrapBackendRenderTarget(desc); |
} |
#endif |