Index: third_party/WebKit/Source/core/html/track/TrackListBase.h |
diff --git a/third_party/WebKit/Source/core/html/track/TrackListBase.h b/third_party/WebKit/Source/core/html/track/TrackListBase.h |
index a4a08313103a07900523c7dffee3bcb96f5e812d..5c279fcceb3afe18042dca2cd13232d0df3b170c 100644 |
--- a/third_party/WebKit/Source/core/html/track/TrackListBase.h |
+++ b/third_party/WebKit/Source/core/html/track/TrackListBase.h |
@@ -62,7 +62,7 @@ class TrackListBase : public EventTargetWithInlineData { |
m_tracks[i]->setMediaElement(0); |
scheduleEvent( |
TrackEvent::create(EventTypeNames::removetrack, m_tracks[i].get())); |
- m_tracks.remove(i); |
+ m_tracks.erase(i); |
return; |
} |
NOTREACHED(); |