Index: third_party/WebKit/Source/core/dom/Node.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp |
index 629b64f72490b07bafb5ea768b48e14b3bf93398..8def8d622b540f3c753fb45f8b4ea199bc38269a 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.cpp |
+++ b/third_party/WebKit/Source/core/dom/Node.cpp |
@@ -1561,8 +1561,8 @@ void Node::showNode(const char* prefix) const |
prefix = ""; |
if (isTextNode()) { |
String value = nodeValue(); |
- value.replaceWithLiteral('\\', "\\\\"); |
- value.replaceWithLiteral('\n', "\\n"); |
+ value.replace('\\', "\\\\"); |
+ value.replace('\n', "\\n"); |
WTFLogAlways("%s%s\t%p \"%s\"\n", prefix, nodeName().utf8().data(), this, value.utf8().data()); |
} else if (isDocumentTypeNode()) { |
WTFLogAlways("%sDOCTYPE %s\t%p\n", prefix, nodeName().utf8().data(), this); |