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

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

Issue 23464095: WTF::notFound looks too much like a local variable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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
Index: Source/core/platform/text/DateTimeFormat.cpp
diff --git a/Source/core/platform/text/DateTimeFormat.cpp b/Source/core/platform/text/DateTimeFormat.cpp
index 6cf33d437e6d6cc5eefe9ef8dfdf8d84c3634e8f..0a02cdc0bdb9b572d5f92cc9c45ee0486dd203a4 100644
--- a/Source/core/platform/text/DateTimeFormat.cpp
+++ b/Source/core/platform/text/DateTimeFormat.cpp
@@ -250,12 +250,12 @@ void DateTimeFormat::quoteAndAppendLiteral(const String& literal, StringBuilder&
if (literal.length() <= 0)
return;
- if (literal.find(isASCIIAlphabetOrQuote) == notFound) {
+ if (literal.find(isASCIIAlphabetOrQuote) == kNotFound) {
buffer.append(literal);
return;
}
- if (literal.find('\'') == notFound) {
+ if (literal.find('\'') == kNotFound) {
buffer.append("'");
buffer.append(literal);
buffer.append("'");
« no previous file with comments | « Source/core/platform/network/ResourceResponse.cpp ('k') | Source/core/platform/text/DecodeEscapeSequences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698