Index: tests/RectangleTextureTest.cpp |
diff --git a/tests/RectangleTextureTest.cpp b/tests/RectangleTextureTest.cpp |
index 2fa51e2ba22f8db4f29487f51f36ee08b764672d..b42b3bac6cae1409ebf5ed1ff63423a520a53556 100644 |
--- a/tests/RectangleTextureTest.cpp |
+++ b/tests/RectangleTextureTest.cpp |
@@ -90,7 +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()))); |
+ context->drawContext(sk_ref_sp(rectangleTexture->asRenderTarget()), |
+ nullptr)); |
if (!dc) { |
ERRORF(reporter, "Could not get GrDrawContext for rectangle texture."); |
return; |