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

Unified Diff: Source/core/inspector/TimelineTraceEventProcessor.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
Index: Source/core/inspector/TimelineTraceEventProcessor.cpp
diff --git a/Source/core/inspector/TimelineTraceEventProcessor.cpp b/Source/core/inspector/TimelineTraceEventProcessor.cpp
index ba28720c02408e6a1d8ce69ab83719860e2e0be3..9145e07d75892f36296242457151851fd04ccbc8 100644
--- a/Source/core/inspector/TimelineTraceEventProcessor.cpp
+++ b/Source/core/inspector/TimelineTraceEventProcessor.cpp
@@ -66,7 +66,7 @@ public:
MutexLocker locker(m_mutex);
size_t index = m_processors.find(processor);
- if (index == notFound) {
+ if (index == kNotFound) {
ASSERT_NOT_REACHED();
return;
}
@@ -196,14 +196,14 @@ size_t TimelineTraceEventProcessor::TraceEvent::findParameter(const char* name)
if (!strcmp(name, m_argumentNames[i]))
return i;
}
- return notFound;
+ return kNotFound;
}
const TimelineTraceEventProcessor::TraceValueUnion& TimelineTraceEventProcessor::TraceEvent::parameter(const char* name, TraceValueTypes expectedType) const
{
static TraceValueUnion missingValue;
size_t index = findParameter(name);
- if (index == notFound || m_argumentTypes[index] != expectedType) {
+ if (index == kNotFound || m_argumentTypes[index] != expectedType) {
ASSERT_NOT_REACHED();
return missingValue;
}
« no previous file with comments | « Source/core/inspector/TimelineTraceEventProcessor.h ('k') | Source/core/loader/CrossOriginPreflightResultCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698