Index: tests/ClearTest.cpp |
diff --git a/tests/ClearTest.cpp b/tests/ClearTest.cpp |
index 4afbabaa5694b9c1676d611bd54e8ec662097761..4dba4bbb95a1576e53e5fac3a6aca66694f38666 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(SkBackingFit::kExact, w, h, kRGBA_8888_GrPixelConfig, nullptr); |
+ *dc = context->makeDrawContext(SkBackingFit::kExact, w, h, kRGBA_8888_GrPixelConfig, nullptr); |
SkASSERT((*dc)->accessRenderTarget()->getUniqueID() != oldID); |