Index: third_party/WebKit/Source/core/xml/XSLTProcessor.cpp |
diff --git a/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp b/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp |
index 774add4619cc1c3f6d18cae2ff0d35e21ceb2165..6fd204ec1e065e441bcd18cd25c255801724f1a9 100644 |
--- a/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp |
+++ b/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp |
@@ -40,8 +40,8 @@ namespace blink { |
static inline void transformTextStringToXHTMLDocumentString(String& text) |
{ |
// Modify the output so that it is a well-formed XHTML document with a <pre> tag enclosing the text. |
- text.replaceWithLiteral('&', "&"); |
- text.replaceWithLiteral('<', "<"); |
+ text.replace('&', "&"); |
+ text.replace('<', "<"); |
text = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" |
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n" |
"<html xmlns=\"http://www.w3.org/1999/xhtml\">\n" |