Index: src/core/SkSpecialSurface.cpp |
diff --git a/src/core/SkSpecialSurface.cpp b/src/core/SkSpecialSurface.cpp |
index 02f54d8eac1f635ce0c055f2eb5a749d5fc34636..4c482dfffb72ff72cdae014ed516265a9a336650 100644 |
--- a/src/core/SkSpecialSurface.cpp |
+++ b/src/core/SkSpecialSurface.cpp |
@@ -161,9 +161,9 @@ sk_sp<SkSpecialSurface> SkSpecialSurface::MakeRenderTarget(GrContext* context, |
return nullptr; |
} |
- sk_sp<GrDrawContext> drawContext(context->newDrawContext(SkBackingFit::kApprox, |
- width, height, config, |
- std::move(colorSpace))); |
+ sk_sp<GrDrawContext> drawContext(context->makeDrawContext(SkBackingFit::kApprox, |
+ width, height, config, |
+ std::move(colorSpace))); |
if (!drawContext) { |
return nullptr; |
} |