aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-05-03 08:47:00 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-03 08:47:01 -0700
commit92605b35efa0155c44d24bd8415b4cc1db8831db (patch)
tree02df8d88f0f90cdab30ef095629d13d6fd45ea46 /src/image
parent871a0484305e9c051e2d78b62e1f2a5fa4bdb3a4 (diff)
Add Gr*Proxy classes
Diffstat (limited to 'src/image')
-rw-r--r--src/image/SkImage_Gpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp
index eea7e2c040..339dee7a5c 100644
--- a/src/image/SkImage_Gpu.cpp
+++ b/src/image/SkImage_Gpu.cpp
@@ -253,7 +253,7 @@ sk_sp<SkImage> SkImage::MakeFromYUVTexturesCopy(GrContext* ctx , SkYUVColorSpace
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(GrContext::kTight_BackingFit,
+ sk_sp<GrDrawContext> drawContext(ctx->newDrawContext(SkBackingFit::kExact,
width, height,
kRGBA_8888_GrPixelConfig,
0,