Index: tests/RectangleTextureTest.cpp |
diff --git a/tests/RectangleTextureTest.cpp b/tests/RectangleTextureTest.cpp |
index b42b3bac6cae1409ebf5ed1ff63423a520a53556..2dbb8884257f833dba281e8f60f853b9b59ed8ea 100644 |
--- a/tests/RectangleTextureTest.cpp |
+++ b/tests/RectangleTextureTest.cpp |
@@ -90,8 +90,8 @@ static void test_clear(skiatest::Reporter* reporter, GrContext* context, |
GrTexture* rectangleTexture) { |
if (rectangleTexture->asRenderTarget()) { |
sk_sp<GrDrawContext> dc( |
- context->drawContext(sk_ref_sp(rectangleTexture->asRenderTarget()), |
- nullptr)); |
+ context->makeDrawContext(sk_ref_sp(rectangleTexture->asRenderTarget()), |
+ nullptr)); |
if (!dc) { |
ERRORF(reporter, "Could not get GrDrawContext for rectangle texture."); |
return; |