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

Unified Diff: Source/weborigin/DatabaseIdentifier.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/web/painting/ContinuousPainter.cpp ('k') | Source/weborigin/SecurityPolicy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/weborigin/DatabaseIdentifier.cpp
diff --git a/Source/weborigin/DatabaseIdentifier.cpp b/Source/weborigin/DatabaseIdentifier.cpp
index 60caec77df69a7be617c242d2cffead8acb12b74..5d7d908dd905336f3689aeda7083b86621a5d263 100644
--- a/Source/weborigin/DatabaseIdentifier.cpp
+++ b/Source/weborigin/DatabaseIdentifier.cpp
@@ -52,12 +52,12 @@ PassRefPtr<SecurityOrigin> createSecurityOriginFromDatabaseIdentifier(const Stri
// Make sure there's a first separator
size_t separator1 = databaseIdentifier.find(separatorCharacter);
- if (separator1 == notFound)
+ if (separator1 == kNotFound)
return SecurityOrigin::createUnique();
// Make sure there's a second separator
size_t separator2 = databaseIdentifier.reverseFind(separatorCharacter);
- if (separator2 == notFound)
+ if (separator2 == kNotFound)
return SecurityOrigin::createUnique();
// Ensure there were at least 2 separator characters. Some hostnames on intranets have
« no previous file with comments | « Source/web/painting/ContinuousPainter.cpp ('k') | Source/weborigin/SecurityPolicy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698