Index: tests/ClearTest.cpp |
diff --git a/tests/ClearTest.cpp b/tests/ClearTest.cpp |
index 7a533ba19c45a4788a5501a8276f7f7a92c28ec6..d227cb8073418638ef2063db3252cb9e8d0da284 100644 |
--- a/tests/ClearTest.cpp |
+++ b/tests/ClearTest.cpp |
@@ -45,7 +45,7 @@ static bool reset_dc(sk_sp<GrDrawContext>* dc, GrContext* context, int w, int h) |
} |
context->freeGpuResources(); |
- *dc = context->newDrawContext(GrContext::kTight_BackingFit, w, h, kRGBA_8888_GrPixelConfig); |
+ *dc = context->newDrawContext(SkBackingFit::kExact, w, h, kRGBA_8888_GrPixelConfig); |
SkASSERT((*dc)->accessRenderTarget()->getUniqueID() != oldID); |