Index: third_party/WebKit/Source/platform/text/LocaleWin.cpp |
diff --git a/third_party/WebKit/Source/platform/text/LocaleWin.cpp b/third_party/WebKit/Source/platform/text/LocaleWin.cpp |
index 35a6ec7e8a8115e8ff44a18bc4c2d5e4bbd05ae8..01b93a23eeb0016f512a5382e3a7f7a0d2cb841d 100644 |
--- a/third_party/WebKit/Source/platform/text/LocaleWin.cpp |
+++ b/third_party/WebKit/Source/platform/text/LocaleWin.cpp |
@@ -169,7 +169,7 @@ |
{ |
if (literalBuffer.length() <= 0) |
return; |
- DateTimeFormat::quoteAndappend(literalBuffer.toString(), converted); |
+ DateTimeFormat::quoteAndAppendLiteral(literalBuffer.toString(), converted); |
literalBuffer.clear(); |
} |
@@ -233,9 +233,9 @@ |
if (count <= 2) |
converted.append(format, symbolStart, count); |
else if (count == 3) |
- converted.append("EEE"); |
+ converted.appendLiteral("EEE"); |
else |
- converted.append("EEEE"); |
+ converted.appendLiteral("EEEE"); |
} else if (ch == 'g') { |
if (count == 1) { |
converted.append('G'); |
@@ -381,7 +381,7 @@ |
format = getLocaleInfoString(LOCALE_STIMEFORMAT); |
StringBuilder builder; |
builder.append(getLocaleInfoString(LOCALE_STIME)); |
- builder.append("ss"); |
+ builder.appendLiteral("ss"); |
size_t pos = format.reverseFind(builder.toString()); |
if (pos != kNotFound) |
format.remove(pos, builder.length()); |