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

Unified Diff: Source/core/html/track/CueTimeline.h

Issue 1014873004: Let CueTimeline::currentlyActiveCues() return by reference-to-const (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 | « no previous file | Source/core/html/track/TextTrackContainer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/CueTimeline.h
diff --git a/Source/core/html/track/CueTimeline.h b/Source/core/html/track/CueTimeline.h
index b4aa9def72331ea7fa6a83399d15b14135615079..16a4ae99f5d05ec2612f6802ff37d93c0fb112e3 100644
--- a/Source/core/html/track/CueTimeline.h
+++ b/Source/core/html/track/CueTimeline.h
@@ -39,7 +39,7 @@ public:
void beginIgnoringUpdateRequests();
void endIgnoringUpdateRequests();
- CueList currentlyActiveCues() const { return m_currentlyActiveCues; }
+ const CueList& currentlyActiveCues() const { return m_currentlyActiveCues; }
DECLARE_TRACE();
« no previous file with comments | « no previous file | Source/core/html/track/TextTrackContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698