Index: src/gpu/GrYUVProvider.cpp |
diff --git a/src/gpu/GrYUVProvider.cpp b/src/gpu/GrYUVProvider.cpp |
index 93859483ad47ce0e7949021bfc35ed30ae55cc03..b1c8d84e68e972c7cdf44a677b4c6e0f94296d00 100644 |
--- a/src/gpu/GrYUVProvider.cpp |
+++ b/src/gpu/GrYUVProvider.cpp |
@@ -130,7 +130,7 @@ GrTexture* GrYUVProvider::refAsTexture(GrContext* ctx, const GrSurfaceDesc& desc |
paint.addColorFragmentProcessor(yuvToRgbProcessor); |
const SkRect r = SkRect::MakeIWH(yuvInfo.fSize[0].fWidth, yuvInfo.fSize[0].fHeight); |
- SkAutoTUnref<GrDrawContext> drawContext(ctx->drawContext(renderTarget)); |
+ SkAutoTUnref<GrDrawContext> drawContext(ctx->drawingMgr().drawContext(renderTarget)); |
if (!drawContext) { |
return nullptr; |
} |