Index: src/gpu/effects/GrConstColorProcessor.cpp |
diff --git a/src/gpu/effects/GrConstColorProcessor.cpp b/src/gpu/effects/GrConstColorProcessor.cpp |
index 88bd82be409224021cccac78980882c5cb2bac93..131d91c87466c62d57455070d8ebdec0f9eeb269 100644 |
--- a/src/gpu/effects/GrConstColorProcessor.cpp |
+++ b/src/gpu/effects/GrConstColorProcessor.cpp |
@@ -91,7 +91,7 @@ void GrConstColorProcessor::onGetGLProcessorKey(const GrGLSLCaps&, GrProcessorKe |
} |
GrGLFragmentProcessor* GrConstColorProcessor::onCreateGLInstance() const { |
- return SkNEW(GLConstColorProcessor); |
+ return new GLConstColorProcessor; |
} |
bool GrConstColorProcessor::onIsEqual(const GrFragmentProcessor& other) const { |