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

Unified Diff: Source/core/html/track/TextTrack.cpp

Issue 656723005: Use C++11 features in core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: mike's comments Created 6 years, 1 month 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/LoadableTextTrack.cpp ('k') | Source/core/html/track/TextTrackCueList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/TextTrack.cpp
diff --git a/Source/core/html/track/TextTrack.cpp b/Source/core/html/track/TextTrack.cpp
index c653dff08cfa07febfe8fb840ca4ec940c297792..b95a35dbef448af17805b09669f465e226735144 100644
--- a/Source/core/html/track/TextTrack.cpp
+++ b/Source/core/html/track/TextTrack.cpp
@@ -192,7 +192,7 @@ TextTrackCueList* TextTrack::cues()
// http://www.whatwg.org/specs/web-apps/current-work/#dom-texttrack-cues
if (m_mode != disabledKeyword())
return ensureTextTrackCueList();
- return 0;
+ return nullptr;
}
void TextTrack::removeAllCues()
@@ -219,7 +219,7 @@ TextTrackCueList* TextTrack::activeCues() const
// http://www.whatwg.org/specs/web-apps/current-work/#dom-texttrack-activecues
if (m_cues && m_mode != disabledKeyword())
return m_cues->activeCues();
- return 0;
+ return nullptr;
}
void TextTrack::addCue(PassRefPtrWillBeRawPtr<TextTrackCue> prpCue)
@@ -296,7 +296,7 @@ VTTRegionList* TextTrack::regions()
// each time.
if (RuntimeEnabledFeatures::webVTTRegionsEnabled() && m_mode != disabledKeyword())
return ensureVTTRegionList();
- return 0;
+ return nullptr;
}
void TextTrack::addRegion(PassRefPtrWillBeRawPtr<VTTRegion> prpRegion)
« no previous file with comments | « Source/core/html/track/LoadableTextTrack.cpp ('k') | Source/core/html/track/TextTrackCueList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698