Index: third_party/WebKit/Source/core/html/track/TextTrackCueList.cpp |
diff --git a/third_party/WebKit/Source/core/html/track/TextTrackCueList.cpp b/third_party/WebKit/Source/core/html/track/TextTrackCueList.cpp |
index 97c8269a0044d39c7457c6cb28b96cd39e5d080a..f85cd7a58cdc51686fb6ad28103fb395dfcf3cc8 100644 |
--- a/third_party/WebKit/Source/core/html/track/TextTrackCueList.cpp |
+++ b/third_party/WebKit/Source/core/html/track/TextTrackCueList.cpp |
@@ -97,7 +97,7 @@ bool TextTrackCueList::remove(TextTrackCue* cue) { |
if (index == kNotFound) |
return false; |
- m_list.remove(index); |
+ m_list.erase(index); |
invalidateCueIndex(index); |
cue->invalidateCueIndex(); |
return true; |