| Index: third_party/WebKit/Source/core/html/track/CueTimeline.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/track/CueTimeline.cpp b/third_party/WebKit/Source/core/html/track/CueTimeline.cpp
|
| index a499534a84ed45baeab0896fa118ddaef9e7a4b0..54d941ea6b3c74b3a50a4d682f407d1812fe8053 100644
|
| --- a/third_party/WebKit/Source/core/html/track/CueTimeline.cpp
|
| +++ b/third_party/WebKit/Source/core/html/track/CueTimeline.cpp
|
| @@ -65,7 +65,7 @@ void CueTimeline::removeCueInternal(TextTrackCue* cue) {
|
| size_t index = m_currentlyActiveCues.find(interval);
|
| if (index != kNotFound) {
|
| DCHECK(cue->isActive());
|
| - m_currentlyActiveCues.remove(index);
|
| + m_currentlyActiveCues.erase(index);
|
| cue->setIsActive(false);
|
| // Since the cue will be removed from the media element and likely the
|
| // TextTrack might also be destructed, notifying the region of the cue
|
|
|