Index: src/gpu/GrDefaultGeoProcFactory.cpp |
diff --git a/src/gpu/GrDefaultGeoProcFactory.cpp b/src/gpu/GrDefaultGeoProcFactory.cpp |
index f8d30f8395e2ed3f218f26315f92eb4dd7ea040f..d3363ef602c2d42aea9d061e006ddc5da872651c 100644 |
--- a/src/gpu/GrDefaultGeoProcFactory.cpp |
+++ b/src/gpu/GrDefaultGeoProcFactory.cpp |
@@ -33,13 +33,8 @@ public: |
bool localCoordsWillBeRead, |
bool coverageWillBeIgnored, |
uint8_t coverage) { |
- return SkNEW_ARGS(DefaultGeoProc, (gpTypeFlags, |
- color, |
- viewMatrix, |
- localMatrix, |
- coverage, |
- localCoordsWillBeRead, |
- coverageWillBeIgnored)); |
+ return new DefaultGeoProc(gpTypeFlags, color, viewMatrix, localMatrix, coverage, |
+ localCoordsWillBeRead, coverageWillBeIgnored); |
} |
const char* name() const override { return "DefaultGeometryProcessor"; } |
@@ -188,7 +183,7 @@ public: |
virtual GrGLPrimitiveProcessor* createGLInstance(const GrBatchTracker& bt, |
const GrGLSLCaps&) const override { |
- return SkNEW_ARGS(GLProcessor, (*this, bt)); |
+ return new GLProcessor(*this, bt); |
} |
private: |