Style Change: SkNEW->new; SkDELETE->delete
DOCS_PREVIEW= https://skia.org/?cl=1316123003
Review URL: https://codereview.chromium.org/1316123003
diff --git a/src/gpu/effects/GrConvexPolyEffect.cpp b/src/gpu/effects/GrConvexPolyEffect.cpp
index 6c47768..92ec518 100644
--- a/src/gpu/effects/GrConvexPolyEffect.cpp
+++ b/src/gpu/effects/GrConvexPolyEffect.cpp
@@ -17,7 +17,7 @@
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 @@
}
GrGLFragmentProcessor* AARectEffect::onCreateGLInstance() const {
- return SkNEW_ARGS(GLAARectEffect, (*this));
+ return new GLAARectEffect(*this);
}
//////////////////////////////////////////////////////////////////////////////
@@ -310,7 +310,7 @@
}
GrGLFragmentProcessor* GrConvexPolyEffect::onCreateGLInstance() const {
- return SkNEW_ARGS(GrGLConvexPolyEffect, (*this));
+ return new GrGLConvexPolyEffect(*this);
}
GrConvexPolyEffect::GrConvexPolyEffect(GrPrimitiveEdgeType edgeType, int n, const SkScalar edges[])