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

Unified Diff: Source/core/html/track/TextTrackRegionList.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/TextTrackRegion.cpp ('k') | Source/core/html/track/WebVTTParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/TextTrackRegionList.cpp
diff --git a/Source/core/html/track/TextTrackRegionList.cpp b/Source/core/html/track/TextTrackRegionList.cpp
index 41bf56e5475f853ccb5942f1141aa197e75010c0..8004a9c76a05115e9c2b7d5b9b341215ddcb05d8 100644
--- a/Source/core/html/track/TextTrackRegionList.cpp
+++ b/Source/core/html/track/TextTrackRegionList.cpp
@@ -69,7 +69,7 @@ void TextTrackRegionList::add(PassRefPtr<TextTrackRegion> region)
bool TextTrackRegionList::remove(TextTrackRegion* region)
{
size_t index = m_list.find(region);
- if (index == notFound)
+ if (index == kNotFound)
return false;
m_list.remove(index);
« no previous file with comments | « Source/core/html/track/TextTrackRegion.cpp ('k') | Source/core/html/track/WebVTTParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698