Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(704)

Unified Diff: third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp

Issue 2583233002: Migrate WTF::Vector::append() to ::push_back() [part 7 of N] (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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())

Powered by Google App Engine
This is Rietveld 408576698