diff options
author | 2015-09-22 06:10:35 -0700 | |
---|---|---|
committer | 2015-09-22 06:10:35 -0700 | |
commit | 106b12427e642d067dd5b48664eb693653853583 (patch) | |
tree | d70686c724a895ae98e04574d432c0eecef030f5 /include/gpu | |
parent | 55fb4f3fdaa301c1c251259fedff4ab0b958c23b (diff) |
Remove SkNEW and SkDELETE macros
This CL removes the uses of SkNEW that have resprouted since commit
385fe4d, and removes the macros entirely now that Android and Chromium
have been cleaned up to no longer depend on them.
A bunch of files implicitly depend on #include <new> from SkPostConfig.h
still though, so keep that for now. To be fixed in a followup CL.
[mtklein mucking around]
Only public API removed.
TBR=reed@google.com
Review URL: https://codereview.chromium.org/1360653004
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/effects/GrExtractAlphaFragmentProcessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/effects/GrExtractAlphaFragmentProcessor.h b/include/gpu/effects/GrExtractAlphaFragmentProcessor.h index 59ae019887..29ff097d9d 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 {} |