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

Unified Diff: Source/core/loader/CrossOriginPreflightResultCache.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/inspector/TimelineTraceEventProcessor.cpp ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/CrossOriginPreflightResultCache.cpp
diff --git a/Source/core/loader/CrossOriginPreflightResultCache.cpp b/Source/core/loader/CrossOriginPreflightResultCache.cpp
index 869076eb8a069e57669f45559fa485e0ccdbc7fe..c3f82abc12e3980cc004cbf88f92876df4e5b5ff 100644
--- a/Source/core/loader/CrossOriginPreflightResultCache.cpp
+++ b/Source/core/loader/CrossOriginPreflightResultCache.cpp
@@ -76,7 +76,7 @@ static bool parseAccessControlAllowList(const String& string, HashSet<String, Ha
{
unsigned start = 0;
size_t end;
- while ((end = string.find(',', start)) != notFound) {
+ while ((end = string.find(',', start)) != kNotFound) {
if (start != end)
addToAccessControlAllowList(string, start, end - 1, set);
start = end + 1;
« no previous file with comments | « Source/core/inspector/TimelineTraceEventProcessor.cpp ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698