Index: third_party/WebKit/Source/platform/text/DateTimeFormat.cpp |
diff --git a/third_party/WebKit/Source/platform/text/DateTimeFormat.cpp b/third_party/WebKit/Source/platform/text/DateTimeFormat.cpp |
index 261458051383f7a2c5d494ddc103fff41ad77f72..8c1a6832312f272b16f57dafbd6f67595a12f46c 100644 |
--- a/third_party/WebKit/Source/platform/text/DateTimeFormat.cpp |
+++ b/third_party/WebKit/Source/platform/text/DateTimeFormat.cpp |
@@ -244,7 +244,7 @@ static bool isASCIIAlphabetOrQuote(UChar ch) |
return isASCIIAlpha(ch) || ch == '\''; |
} |
-void DateTimeFormat::quoteAndAppendLiteral(const String& literal, StringBuilder& buffer) |
+void DateTimeFormat::quoteAndappend(const String& literal, StringBuilder& buffer) |
{ |
if (literal.length() <= 0) |
return; |
@@ -263,7 +263,7 @@ void DateTimeFormat::quoteAndAppendLiteral(const String& literal, StringBuilder& |
for (unsigned i = 0; i < literal.length(); ++i) { |
if (literal[i] == '\'') { |
- buffer.appendLiteral("''"); |
+ buffer.append("''"); |
} else { |
String escaped = literal.substring(i); |
escaped.replace("'", "''"); |