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

Unified Diff: Source/core/html/HTMLInputElement.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/html/HTMLImportLoader.cpp ('k') | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLInputElement.cpp
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
index 44de7678423b8309209cf6ebbf5088d395fac47c..de0e61d15e042596380e79e0f5814fb3868200c9 100644
--- a/Source/core/html/HTMLInputElement.cpp
+++ b/Source/core/html/HTMLInputElement.cpp
@@ -1242,7 +1242,7 @@ static inline bool isRFC2616TokenCharacter(UChar ch)
static bool isValidMIMEType(const String& type)
{
size_t slashPosition = type.find('/');
- if (slashPosition == notFound || !slashPosition || slashPosition == type.length() - 1)
+ if (slashPosition == kNotFound || !slashPosition || slashPosition == type.length() - 1)
return false;
for (size_t i = 0; i < type.length(); ++i) {
if (!isRFC2616TokenCharacter(type[i]) && i != slashPosition)
« no previous file with comments | « Source/core/html/HTMLImportLoader.cpp ('k') | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698