| Index: src/gpu/GrContext.cpp
|
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
|
| index 31845f9d6df80b7c9c2ea819e4278f0d46ac37b1..a186bd87bc101f1cf9107ccc1903172adf354622 100644
|
| --- a/src/gpu/GrContext.cpp
|
| +++ b/src/gpu/GrContext.cpp
|
| @@ -615,7 +615,7 @@
|
| return fDrawingManager->drawContext(std::move(rt), surfaceProps);
|
| }
|
|
|
| -sk_sp<GrDrawContext> GrContext::newDrawContext(SkBackingFit fit,
|
| +sk_sp<GrDrawContext> GrContext::newDrawContext(BackingFit fit,
|
| int width, int height,
|
| GrPixelConfig config,
|
| int sampleCnt,
|
| @@ -629,7 +629,7 @@
|
| desc.fSampleCnt = sampleCnt;
|
|
|
| sk_sp<GrTexture> tex;
|
| - if (SkBackingFit::kExact == fit) {
|
| + if (kTight_BackingFit == fit) {
|
| tex.reset(this->textureProvider()->createTexture(desc, SkBudgeted::kYes));
|
| } else {
|
| tex.reset(this->textureProvider()->createApproxTexture(desc));
|
|
|