Index: src/image/SkImage_Gpu.cpp |
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp |
index 339dee7a5c7ef0d2bc839cff7b74ec871c1c5f50..eea7e2c04074e191eee77d1e022348c338f92757 100644 |
--- a/src/image/SkImage_Gpu.cpp |
+++ b/src/image/SkImage_Gpu.cpp |
@@ -253,7 +253,7 @@ |
const int height = yuvSizes[0].fHeight; |
// Needs to be a render target in order to draw to it for the yuv->rgb conversion. |
- sk_sp<GrDrawContext> drawContext(ctx->newDrawContext(SkBackingFit::kExact, |
+ sk_sp<GrDrawContext> drawContext(ctx->newDrawContext(GrContext::kTight_BackingFit, |
width, height, |
kRGBA_8888_GrPixelConfig, |
0, |