Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Unified Diff: include/gpu/effects/GrExtractAlphaFragmentProcessor.h

Issue 1360653004: Remove SkNEW and SkDELETE macros (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Restore comment about new/delete Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkPostConfig.h ('k') | src/codec/SkBmpCodec.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/effects/GrExtractAlphaFragmentProcessor.h
diff --git a/include/gpu/effects/GrExtractAlphaFragmentProcessor.h b/include/gpu/effects/GrExtractAlphaFragmentProcessor.h
index 59ae0198872eeb6c76deec7b457fd259f829f06d..29ff097d9d9bccfa2b05dc333f2bb246794f972f 100644
--- a/include/gpu/effects/GrExtractAlphaFragmentProcessor.h
+++ b/include/gpu/effects/GrExtractAlphaFragmentProcessor.h
@@ -18,7 +18,7 @@ public:
if (!processor) {
return nullptr;
}
- return SkNEW_ARGS(GrExtractAlphaFragmentProcessor, (processor));
+ return new GrExtractAlphaFragmentProcessor(processor);
}
~GrExtractAlphaFragmentProcessor() override {}
« no previous file with comments | « include/core/SkPostConfig.h ('k') | src/codec/SkBmpCodec.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698