Index: src/animator/SkAnimateSet.cpp |
diff --git a/src/animator/SkAnimateSet.cpp b/src/animator/SkAnimateSet.cpp |
index ec06a9e666fd4d0ddc72a5611583c3e7cc237fd4..6679a92fb5b125421855d7a5cf765a4c7a89f007 100644 |
--- a/src/animator/SkAnimateSet.cpp |
+++ b/src/animator/SkAnimateSet.cpp |
@@ -67,7 +67,7 @@ void SkSet::onEndElement(SkAnimateMaker& maker) { |
fValues.setType(outType); |
fValues.setCount(comps); |
if (outType == SkType_String || outType == SkType_DynamicString) |
- fValues[0].fString = SkNEW(SkString); |
+ fValues[0].fString = new SkString; |
else |
memset(fValues.begin(), 0, fValues.count() * sizeof(fValues.begin()[0])); |
} else { |