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