Index: tests/PrimitiveProcessorTest.cpp |
diff --git a/tests/PrimitiveProcessorTest.cpp b/tests/PrimitiveProcessorTest.cpp |
index acaf9e98afb30e8d46e1a1a8e5636954e3efec73..7a080c57aca66349bce6e8dda10c4fea6478fb81 100644 |
--- a/tests/PrimitiveProcessorTest.cpp |
+++ b/tests/PrimitiveProcessorTest.cpp |
@@ -104,9 +104,9 @@ private: |
DEF_GPUTEST_FOR_ALL_CONTEXTS(VertexAttributeCount, reporter, ctxInfo) { |
GrContext* context = ctxInfo.grContext(); |
- sk_sp<GrDrawContext> drawContext(context->newDrawContext(SkBackingFit::kApprox, |
- 1, 1, kRGBA_8888_GrPixelConfig, |
- nullptr)); |
+ sk_sp<GrDrawContext> drawContext(context->makeDrawContext(SkBackingFit::kApprox, |
+ 1, 1, kRGBA_8888_GrPixelConfig, |
+ nullptr)); |
if (!drawContext) { |
ERRORF(reporter, "Could not create draw context."); |
return; |