Index: third_party/WebKit/Source/modules/mediasource/SourceBufferList.cpp |
diff --git a/third_party/WebKit/Source/modules/mediasource/SourceBufferList.cpp b/third_party/WebKit/Source/modules/mediasource/SourceBufferList.cpp |
index e689f7925dbb7e863d197a893ad808516b1fd533..0480481713247f8060e5ab38283919ebae9eaa7a 100644 |
--- a/third_party/WebKit/Source/modules/mediasource/SourceBufferList.cpp |
+++ b/third_party/WebKit/Source/modules/mediasource/SourceBufferList.cpp |
@@ -56,7 +56,7 @@ void SourceBufferList::remove(SourceBuffer* buffer) { |
size_t index = m_list.find(buffer); |
if (index == kNotFound) |
return; |
- m_list.remove(index); |
+ m_list.erase(index); |
scheduleEvent(EventTypeNames::removesourcebuffer); |
} |