Index: src/gpu/GrStencilAndCoverPathRenderer.cpp |
diff --git a/src/gpu/GrStencilAndCoverPathRenderer.cpp b/src/gpu/GrStencilAndCoverPathRenderer.cpp |
index 60f9f6439091a60c83b7947819eb4cc8cea2d047..a5e34ff3f3f92f68ee1264f1df00ec66f250b485 100644 |
--- a/src/gpu/GrStencilAndCoverPathRenderer.cpp |
+++ b/src/gpu/GrStencilAndCoverPathRenderer.cpp |
@@ -35,7 +35,7 @@ static GrPathRendering::FillType convert_skpath_filltype(SkPath::FillType fill) |
GrPathRenderer* GrStencilAndCoverPathRenderer::Create(GrResourceProvider* resourceProvider, |
const GrCaps& caps) { |
if (caps.shaderCaps()->pathRenderingSupport()) { |
- return SkNEW_ARGS(GrStencilAndCoverPathRenderer, (resourceProvider)); |
+ return new GrStencilAndCoverPathRenderer(resourceProvider); |
} else { |
return NULL; |
} |