| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| index d47769d14bf154d0ffefddded40d5b40f2ba60f8..00c36f940b08df6da5303e9a832f65c82a0b3134 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| @@ -2870,7 +2870,7 @@ void HTMLMediaElement::didRemoveTrackElement(HTMLTrackElement* trackElement) {
|
|
|
| size_t index = m_textTracksWhenResourceSelectionBegan.find(textTrack);
|
| if (index != kNotFound)
|
| - m_textTracksWhenResourceSelectionBegan.remove(index);
|
| + m_textTracksWhenResourceSelectionBegan.erase(index);
|
| }
|
|
|
| void HTMLMediaElement::honorUserPreferencesForAutomaticTextTrackSelection() {
|
|
|