Index: third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp |
diff --git a/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp b/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp |
index 8622985114fe9df6c703596c079866b1e0a376a7..a16bdc05e5f3ffdca1b187270fd2b7d5620193dc 100644 |
--- a/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp |
+++ b/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp |
@@ -198,11 +198,11 @@ void MarkupFormatter::appendQuotedURLAttributeValue(StringBuilder& result, const |
if (protocolIsJavaScript(strippedURLString)) { |
// minimal escaping for javascript urls |
if (strippedURLString.contains('&')) |
- strippedURLString.replaceWithLiteral('&', "&"); |
+ strippedURLString.replace('&', "&"); |
if (strippedURLString.contains('"')) { |
if (strippedURLString.contains('\'')) |
- strippedURLString.replaceWithLiteral('"', """); |
+ strippedURLString.replace('"', """); |
else |
quoteChar = '\''; |
} |