Index: src/xml/SkDOM.cpp |
diff --git a/src/xml/SkDOM.cpp b/src/xml/SkDOM.cpp |
index eb1bc092fecb9e1f9f7a1397873d14da56ff0617..3bb0835bbc30a3accce1e81178db36497979660d 100644 |
--- a/src/xml/SkDOM.cpp |
+++ b/src/xml/SkDOM.cpp |
@@ -366,7 +366,7 @@ const SkDOM::Node* SkDOM::copy(const SkDOM& dom, const SkDOM::Node* node) |
SkXMLParser* SkDOM::beginParsing() { |
SkASSERT(!fParser); |
- fParser.reset(SkNEW_ARGS(SkDOMParser, (&fAlloc))); |
+ fParser.reset(new SkDOMParser(&fAlloc)); |
return fParser.get(); |
} |