| Index: third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp b/third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp
|
| index 651d79063da9e5a10cfdeca8fca508af274bff7a..34e4935d47efc85dc123fb00c11eed8e1d0155d1 100644
|
| --- a/third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp
|
| @@ -78,7 +78,7 @@ void AutomaticTrackSelection::performAutomaticTextTrackSelection(
|
| for (const auto& textTrack : group.tracks) {
|
| if (m_configuration.disableCurrentlyEnabledTracks &&
|
| textTrack->mode() == TextTrack::showingKeyword())
|
| - currentlyEnabledTracks.append(textTrack);
|
| + currentlyEnabledTracks.push_back(textTrack);
|
|
|
| int trackScore = textTrackSelectionScore(*textTrack);
|
|
|
| @@ -197,7 +197,7 @@ void AutomaticTrackSelection::perform(TextTrackList& textTracks) {
|
|
|
| if (textTrack->language().length())
|
| currentGroup->hasSrcLang = true;
|
| - currentGroup->tracks.append(textTrack);
|
| + currentGroup->tracks.push_back(textTrack);
|
| }
|
|
|
| if (captionAndSubtitleTracks.tracks.size())
|
|
|