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

Unified Diff: src/codec/SkCodec_libgif.cpp

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 | « src/codec/SkBmpCodec.cpp ('k') | src/effects/SkImageSource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codec/SkCodec_libgif.cpp
diff --git a/src/codec/SkCodec_libgif.cpp b/src/codec/SkCodec_libgif.cpp
index 03980b586a1df9a6b3c2d41b213614b7e8f93465..d8889defafa310fe76f2ad2d18bc1d2b3a73480b 100644
--- a/src/codec/SkCodec_libgif.cpp
+++ b/src/codec/SkCodec_libgif.cpp
@@ -701,5 +701,5 @@ SkScanlineDecoder* SkGifCodec::NewSDFromStream(SkStream* stream) {
const SkImageInfo& srcInfo = codec->getInfo();
- return SkNEW_ARGS(SkGifScanlineDecoder, (srcInfo, codec.detach()));
+ return new SkGifScanlineDecoder(srcInfo, codec.detach());
}
« no previous file with comments | « src/codec/SkBmpCodec.cpp ('k') | src/effects/SkImageSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698