Index: src/gpu/text/GrAtlasTextContext.cpp |
diff --git a/src/gpu/text/GrAtlasTextContext.cpp b/src/gpu/text/GrAtlasTextContext.cpp |
index b46963cf51aaee6e144143c8b7e556c3b0eb97dc..285aea4d2ac6d69f3e4fa8163c25912e10a000a9 100644 |
--- a/src/gpu/text/GrAtlasTextContext.cpp |
+++ b/src/gpu/text/GrAtlasTextContext.cpp |
@@ -389,8 +389,8 @@ DRAW_BATCH_TEST_DEFINE(TextBlobBatch) { |
} |
// Setup dummy SkPaint / GrPaint / GrDrawContext |
- sk_sp<GrDrawContext> drawContext(context->newDrawContext(SkBackingFit::kApprox, 1024, 1024, |
- kSkia8888_GrPixelConfig, nullptr)); |
+ sk_sp<GrDrawContext> drawContext(context->makeDrawContext(SkBackingFit::kApprox, 1024, 1024, |
+ kSkia8888_GrPixelConfig, nullptr)); |
GrColor color = GrRandomColor(random); |
SkMatrix viewMatrix = GrTest::TestMatrixInvertible(random); |