Index: src/codec/SkScanlineDecoder.cpp |
diff --git a/src/codec/SkScanlineDecoder.cpp b/src/codec/SkScanlineDecoder.cpp |
index 851e7e71d09e312f6564bc3a7e5deaf001d78a69..5c94a6d38149fa9a03d75eb7d7f1e440b5741a42 100644 |
--- a/src/codec/SkScanlineDecoder.cpp |
+++ b/src/codec/SkScanlineDecoder.cpp |
@@ -62,7 +62,7 @@ SkScanlineDecoder* SkScanlineDecoder::NewFromData(SkData* data) { |
if (!data) { |
return NULL; |
} |
- return NewFromStream(SkNEW_ARGS(SkMemoryStream, (data))); |
+ return NewFromStream(new SkMemoryStream(data)); |
} |