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

Unified Diff: Source/core/platform/Length.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/ContentType.cpp ('k') | Source/core/platform/MIMETypeFromURL.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/Length.cpp
diff --git a/Source/core/platform/Length.cpp b/Source/core/platform/Length.cpp
index 26993869f6f0e789eb945c5eb04708b1b0ebe0c6..95a3733e2b2021f36943d2b049c18fe0f2b20f51 100644
--- a/Source/core/platform/Length.cpp
+++ b/Source/core/platform/Length.cpp
@@ -99,7 +99,7 @@ Vector<Length> parseHTMLAreaElementCoords(const String& string)
unsigned pos = 0;
size_t pos2;
- while ((pos2 = str->find(' ', pos)) != notFound) {
+ while ((pos2 = str->find(' ', pos)) != kNotFound) {
r[i++] = parseHTMLAreaCoordinate(str->characters8() + pos, pos2 - pos);
pos = pos2 + 1;
}
« no previous file with comments | « Source/core/platform/ContentType.cpp ('k') | Source/core/platform/MIMETypeFromURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698