Index: src/gpu/GrRenderTarget.cpp |
diff --git a/src/gpu/GrRenderTarget.cpp b/src/gpu/GrRenderTarget.cpp |
index 9eba1806c0ace822c0ca0acbff9f86325efdb677..cccf9534f689258980a7fb27d91eef5aa7a11e30 100644 |
--- a/src/gpu/GrRenderTarget.cpp |
+++ b/src/gpu/GrRenderTarget.cpp |
@@ -29,7 +29,7 @@ void GrRenderTarget::discard() { |
return; |
} |
- sk_sp<GrDrawContext> drawContext(context->drawContext(sk_ref_sp(this), nullptr)); |
+ sk_sp<GrDrawContext> drawContext(context->makeDrawContext(sk_ref_sp(this), nullptr)); |
if (!drawContext) { |
return; |
} |