Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1344)

Unified Diff: Source/core/platform/text/DateTimeFormat.cpp

Issue 22572005: Remove all uses of the ASCIILiteral class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm it from wtf Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/platform/sql/SQLiteDatabase.cpp ('k') | Source/core/platform/text/LocaleICU.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/text/DateTimeFormat.cpp
diff --git a/Source/core/platform/text/DateTimeFormat.cpp b/Source/core/platform/text/DateTimeFormat.cpp
index 5cbb6444a9057e43bf55666e75c5e87767c5ab51..6cf33d437e6d6cc5eefe9ef8dfdf8d84c3634e8f 100644
--- a/Source/core/platform/text/DateTimeFormat.cpp
+++ b/Source/core/platform/text/DateTimeFormat.cpp
@@ -267,7 +267,7 @@ void DateTimeFormat::quoteAndAppendLiteral(const String& literal, StringBuilder&
buffer.append("''");
else {
String escaped = literal.substring(i);
- escaped.replace(ASCIILiteral("'"), ASCIILiteral("''"));
+ escaped.replace("'", "''");
buffer.append("'");
buffer.append(escaped);
buffer.append("'");
« no previous file with comments | « Source/core/platform/sql/SQLiteDatabase.cpp ('k') | Source/core/platform/text/LocaleICU.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698