Index: src/gpu/effects/GrExtractAlphaFragmentProcessor.cpp |
diff --git a/src/gpu/effects/GrExtractAlphaFragmentProcessor.cpp b/src/gpu/effects/GrExtractAlphaFragmentProcessor.cpp |
index 483df645022afb3ebfecb6645f3b48bf44a980ba..93a394eb78e755e2d9c254de6fcc9dad20dc44af 100644 |
--- a/src/gpu/effects/GrExtractAlphaFragmentProcessor.cpp |
+++ b/src/gpu/effects/GrExtractAlphaFragmentProcessor.cpp |
@@ -28,7 +28,7 @@ private: |
}; |
GrGLFragmentProcessor* GrExtractAlphaFragmentProcessor::onCreateGLInstance() const { |
- return SkNEW(GLExtractAlphaFragmentProcessor); |
+ return new GLExtractAlphaFragmentProcessor; |
} |
void GrExtractAlphaFragmentProcessor::onGetGLProcessorKey(const GrGLSLCaps&, |
@@ -52,5 +52,5 @@ GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrExtractAlphaFragmentProcessor); |
const GrFragmentProcessor* GrExtractAlphaFragmentProcessor::TestCreate(GrProcessorTestData* d) { |
SkAutoTUnref<const GrFragmentProcessor> child(GrProcessorUnitTest::CreateChildFP(d)); |
- return SkNEW_ARGS(GrExtractAlphaFragmentProcessor, (child)); |
+ return new GrExtractAlphaFragmentProcessor(child); |
} |