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

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

Issue 958903002: Move activeCues ownership to TextTrack (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/TextTrack.cpp ('k') | Source/core/html/track/TextTrackCueList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/TextTrackCueList.h
diff --git a/Source/core/html/track/TextTrackCueList.h b/Source/core/html/track/TextTrackCueList.h
index 0f11f2b60c2de7ec35dd749a0dda0211619a59a4..3a6e169e4fc85b7a4426513d56dd51040aca1c7b 100644
--- a/Source/core/html/track/TextTrackCueList.h
+++ b/Source/core/html/track/TextTrackCueList.h
@@ -48,11 +48,11 @@ public:
TextTrackCue* item(unsigned index) const;
TextTrackCue* getCueById(const AtomicString&) const;
- TextTrackCueList* activeCues();
bool add(PassRefPtrWillBeRawPtr<TextTrackCue>);
bool remove(TextTrackCue*);
+ void collectActiveCues(TextTrackCueList&) const;
void updateCueIndex(TextTrackCue*);
DECLARE_TRACE();
@@ -64,7 +64,6 @@ private:
void invalidateCueIndexes(size_t);
WillBeHeapVector<RefPtrWillBeMember<TextTrackCue>> m_list;
- RefPtrWillBeMember<TextTrackCueList> m_activeCues;
};
} // namespace blink
« no previous file with comments | « Source/core/html/track/TextTrack.cpp ('k') | Source/core/html/track/TextTrackCueList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698