Index: src/core/SkFontDescriptor.cpp |
diff --git a/src/core/SkFontDescriptor.cpp b/src/core/SkFontDescriptor.cpp |
index cb149b98a9e5eeb0f90eadeff3fa6256d5a4f4bd..8348d5fdba44ce16451964eb43fc31e9fc40f886 100644 |
--- a/src/core/SkFontDescriptor.cpp |
+++ b/src/core/SkFontDescriptor.cpp |
@@ -98,8 +98,7 @@ SkFontDescriptor::SkFontDescriptor(SkStream* stream) { |
if (length > 0) { |
SkAutoTUnref<SkData> data(SkData::NewUninitialized(length)); |
if (stream->read(data->writable_data(), length) == length) { |
- fFontData.reset(new SkFontData(SkNEW_ARGS(SkMemoryStream, (data)), index, |
- axis, axisCount)); |
+ fFontData.reset(new SkFontData(new SkMemoryStream(data), index, axis, axisCount)); |
} |
} |
} |