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

Unified Diff: Source/core/platform/text/LocaleToScriptMappingDefault.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
« no previous file with comments | « Source/core/platform/text/DecodeEscapeSequences.h ('k') | Source/core/platform/text/mac/LocaleMac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/text/LocaleToScriptMappingDefault.cpp
diff --git a/Source/core/platform/text/LocaleToScriptMappingDefault.cpp b/Source/core/platform/text/LocaleToScriptMappingDefault.cpp
index 6a410f3a5e8fa6e3e7f45529c80d7dadf0d8551b..197d87a99668a5cf878235c43a9189300ea3aa50 100644
--- a/Source/core/platform/text/LocaleToScriptMappingDefault.cpp
+++ b/Source/core/platform/text/LocaleToScriptMappingDefault.cpp
@@ -391,7 +391,7 @@ UScriptCode localeToScriptCodeForFontSelection(const String& locale)
if (it != localeScriptMap.end())
return it->value;
size_t pos = canonicalLocale.reverseFind('_');
- if (pos == notFound)
+ if (pos == kNotFound)
break;
UScriptCode code = scriptNameToCode(canonicalLocale.substring(pos + 1));
if (code != USCRIPT_INVALID_CODE && code != USCRIPT_UNKNOWN)
« no previous file with comments | « Source/core/platform/text/DecodeEscapeSequences.h ('k') | Source/core/platform/text/mac/LocaleMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698