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

Unified Diff: Source/core/platform/text/DecodeEscapeSequences.h

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/DecodeEscapeSequences.h
diff --git a/Source/core/platform/text/DecodeEscapeSequences.h b/Source/core/platform/text/DecodeEscapeSequences.h
index d809896ebdca14504994ed55f55beb0be81e3342..81b43e3c3887cf52758f839129c6990b0df8a978 100644
--- a/Source/core/platform/text/DecodeEscapeSequences.h
+++ b/Source/core/platform/text/DecodeEscapeSequences.h
@@ -130,7 +130,7 @@ String decodeEscapeSequences(const String& string, const WTF::TextEncoding& enco
size_t decodedPosition = 0;
size_t searchPosition = 0;
size_t encodedRunPosition;
- while ((encodedRunPosition = EscapeSequence::findInString(string, searchPosition)) != notFound) {
+ while ((encodedRunPosition = EscapeSequence::findInString(string, searchPosition)) != kNotFound) {
size_t encodedRunEnd = EscapeSequence::findEndOfRun(string, encodedRunPosition, length);
searchPosition = encodedRunEnd;
if (encodedRunEnd == encodedRunPosition) {
« no previous file with comments | « Source/core/platform/text/DateTimeFormat.cpp ('k') | Source/core/platform/text/LocaleToScriptMappingDefault.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698