Index: src/codec/SkBmpCodec.cpp |
diff --git a/src/codec/SkBmpCodec.cpp b/src/codec/SkBmpCodec.cpp |
index 406a603dceefe3916714cb9cf394baefac094d00..a55cb8cf55beee13493c75538e807811e1a9a2e7 100644 |
--- a/src/codec/SkBmpCodec.cpp |
+++ b/src/codec/SkBmpCodec.cpp |
@@ -640,5 +640,5 @@ SkScanlineDecoder* SkBmpCodec::NewSDFromStream(SkStream* stream) { |
return NULL; |
} |
- return SkNEW_ARGS(SkBmpScanlineDecoder, (codec.detach())); |
+ return new SkBmpScanlineDecoder(codec.detach()); |
} |