| Index: third_party/WebKit/Source/core/html/track/TextTrackList.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/track/TextTrackList.cpp b/third_party/WebKit/Source/core/html/track/TextTrackList.cpp
|
| index 5fb96a410cc9e1f073c13bfa0c9b87d01e93f995..67f4e399b9586846df1ddb7ec50575fcda83970b 100644
|
| --- a/third_party/WebKit/Source/core/html/track/TextTrackList.cpp
|
| +++ b/third_party/WebKit/Source/core/html/track/TextTrackList.cpp
|
| @@ -209,7 +209,7 @@ void TextTrackList::remove(TextTrack* track) {
|
| DCHECK_EQ(track->trackList(), this);
|
| track->setTrackList(0);
|
|
|
| - tracks->remove(index);
|
| + tracks->erase(index);
|
|
|
| scheduleRemoveTrackEvent(track);
|
| }
|
|
|