| Index: src/gpu/effects/GrConvexPolyEffect.cpp
|
| diff --git a/src/gpu/effects/GrConvexPolyEffect.cpp b/src/gpu/effects/GrConvexPolyEffect.cpp
|
| index 6c477688c0ce4fa7eca41272c1b583e5207facc7..92ec518a7662f9ad07cbc75988fe33d551a40ee7 100644
|
| --- a/src/gpu/effects/GrConvexPolyEffect.cpp
|
| +++ b/src/gpu/effects/GrConvexPolyEffect.cpp
|
| @@ -17,7 +17,7 @@ public:
|
| const SkRect& getRect() const { return fRect; }
|
|
|
| static GrFragmentProcessor* Create(GrPrimitiveEdgeType edgeType, const SkRect& rect) {
|
| - return SkNEW_ARGS(AARectEffect, (edgeType, rect));
|
| + return new AARectEffect(edgeType, rect);
|
| }
|
|
|
| GrPrimitiveEdgeType getEdgeType() const { return fEdgeType; }
|
| @@ -158,7 +158,7 @@ void AARectEffect::onGetGLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBui
|
| }
|
|
|
| GrGLFragmentProcessor* AARectEffect::onCreateGLInstance() const {
|
| - return SkNEW_ARGS(GLAARectEffect, (*this));
|
| + return new GLAARectEffect(*this);
|
| }
|
|
|
| //////////////////////////////////////////////////////////////////////////////
|
| @@ -310,7 +310,7 @@ void GrConvexPolyEffect::onGetGLProcessorKey(const GrGLSLCaps& caps,
|
| }
|
|
|
| GrGLFragmentProcessor* GrConvexPolyEffect::onCreateGLInstance() const {
|
| - return SkNEW_ARGS(GrGLConvexPolyEffect, (*this));
|
| + return new GrGLConvexPolyEffect(*this);
|
| }
|
|
|
| GrConvexPolyEffect::GrConvexPolyEffect(GrPrimitiveEdgeType edgeType, int n, const SkScalar edges[])
|
|
|