Index: tools/PictureRenderer.cpp |
diff --git a/tools/PictureRenderer.cpp b/tools/PictureRenderer.cpp |
index aec153d953fe7c74b71e5a6e60cbb9098b26e6c3..559413f9b9c17e2523050734f13c3c4fef15bd94 100644 |
--- a/tools/PictureRenderer.cpp |
+++ b/tools/PictureRenderer.cpp |
@@ -156,7 +156,7 @@ SkCanvas* PictureRenderer::setupCanvas(int width, int height) { |
desc.fWidth = width; |
desc.fHeight = height; |
desc.fSampleCnt = fSampleCount; |
- target.reset(fGrContext->createTexture(desc, false, NULL, 0)); |
+ target.reset(fGrContext->textureProvider()->createTexture(desc, false, NULL, 0)); |
} |
uint32_t flags = fUseDFText ? SkSurfaceProps::kUseDistanceFieldFonts_Flag : 0; |