Index: src/gpu/effects/GrOvalEffect.cpp |
diff --git a/src/gpu/effects/GrOvalEffect.cpp b/src/gpu/effects/GrOvalEffect.cpp |
index 3fb7b9029d4a05b3923f66bdeac627cfdbc8235c..dec6ae2bada34cd9967d0ae0b2848612ae6baaa6 100644 |
--- a/src/gpu/effects/GrOvalEffect.cpp |
+++ b/src/gpu/effects/GrOvalEffect.cpp |
@@ -51,7 +51,7 @@ private: |
GrFragmentProcessor* CircleEffect::Create(GrPrimitiveEdgeType edgeType, const SkPoint& center, |
SkScalar radius) { |
SkASSERT(radius >= 0); |
- return SkNEW_ARGS(CircleEffect, (edgeType, center, radius)); |
+ return new CircleEffect(edgeType, center, radius); |
} |
void CircleEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const { |
@@ -177,7 +177,7 @@ void CircleEffect::onGetGLProcessorKey(const GrGLSLCaps& caps, |
} |
GrGLFragmentProcessor* CircleEffect::onCreateGLInstance() const { |
- return SkNEW_ARGS(GLCircleEffect, (*this)); |
+ return new GLCircleEffect(*this); |
} |
////////////////////////////////////////////////////////////////////////////// |
@@ -221,7 +221,7 @@ GrFragmentProcessor* EllipseEffect::Create(GrPrimitiveEdgeType edgeType, |
SkScalar rx, |
SkScalar ry) { |
SkASSERT(rx >= 0 && ry >= 0); |
- return SkNEW_ARGS(EllipseEffect, (edgeType, center, rx, ry)); |
+ return new EllipseEffect(edgeType, center, rx, ry); |
} |
void EllipseEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const { |
@@ -353,7 +353,7 @@ void EllipseEffect::onGetGLProcessorKey(const GrGLSLCaps& caps, |
} |
GrGLFragmentProcessor* EllipseEffect::onCreateGLInstance() const { |
- return SkNEW_ARGS(GLEllipseEffect, (*this)); |
+ return new GLEllipseEffect(*this); |
} |
////////////////////////////////////////////////////////////////////////////// |