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

Unified Diff: Source/core/html/track/TextTrackList.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/track/TextTrackCueList.cpp ('k') | Source/core/html/track/TextTrackRegion.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/TextTrackList.cpp
diff --git a/Source/core/html/track/TextTrackList.cpp b/Source/core/html/track/TextTrackList.cpp
index 719f96e35670983cec6df31a55fffb32bfefaefa..763707c7744ac027c5a5d466a6974cb6b2b7e8c0 100644
--- a/Source/core/html/track/TextTrackList.cpp
+++ b/Source/core/html/track/TextTrackList.cpp
@@ -151,7 +151,7 @@ void TextTrackList::invalidateTrackIndexesAfterTrack(TextTrack* track)
ASSERT_NOT_REACHED();
size_t index = tracks->find(track);
- if (index == notFound)
+ if (index == kNotFound)
return;
for (size_t i = index; i < tracks->size(); ++i)
@@ -200,7 +200,7 @@ void TextTrackList::remove(TextTrack* track)
}
size_t index = tracks->find(track);
- if (index == notFound)
+ if (index == kNotFound)
return;
invalidateTrackIndexesAfterTrack(track);
@@ -227,7 +227,7 @@ bool TextTrackList::contains(TextTrack* track) const
else
ASSERT_NOT_REACHED();
- return tracks->find(track) != notFound;
+ return tracks->find(track) != kNotFound;
}
const AtomicString& TextTrackList::interfaceName() const
« no previous file with comments | « Source/core/html/track/TextTrackCueList.cpp ('k') | Source/core/html/track/TextTrackRegion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698