Index: Source/core/html/track/TextTrackCueList.h |
diff --git a/Source/core/html/track/TextTrackCueList.h b/Source/core/html/track/TextTrackCueList.h |
index 3bdeea814894a0f8026983d3f0c9b6c38e5d0eec..0f11f2b60c2de7ec35dd749a0dda0211619a59a4 100644 |
--- a/Source/core/html/track/TextTrackCueList.h |
+++ b/Source/core/html/track/TextTrackCueList.h |
@@ -53,13 +53,13 @@ public: |
bool add(PassRefPtrWillBeRawPtr<TextTrackCue>); |
bool remove(TextTrackCue*); |
- bool updateCueIndex(TextTrackCue*); |
+ void updateCueIndex(TextTrackCue*); |
DECLARE_TRACE(); |
private: |
TextTrackCueList(); |
- bool add(PassRefPtrWillBeRawPtr<TextTrackCue>, size_t, size_t); |
+ size_t findInsertionIndex(const TextTrackCue*) const; |
void clear(); |
void invalidateCueIndexes(size_t); |