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

Unified Diff: third_party/WebKit/Source/core/html/track/TextTrackList.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/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 05f5292b256a7f9841215ff277449e12bcdb3af8..5defe1dede3e202f61bb418205c131557fb1eeb9 100644
--- a/third_party/WebKit/Source/core/html/track/TextTrackList.cpp
+++ b/third_party/WebKit/Source/core/html/track/TextTrackList.cpp
@@ -168,13 +168,13 @@ void TextTrackList::invalidateTrackIndexesAfterTrack(TextTrack* track) {
void TextTrackList::append(TextTrack* track) {
if (track->trackType() == TextTrack::AddTrack) {
- m_addTrackTracks.append(TraceWrapperMember<TextTrack>(this, track));
+ m_addTrackTracks.push_back(TraceWrapperMember<TextTrack>(this, track));
} else if (track->trackType() == TextTrack::TrackElement) {
// Insert tracks added for <track> element in tree order.
size_t index = static_cast<LoadableTextTrack*>(track)->trackElementIndex();
m_elementTracks.insert(index, TraceWrapperMember<TextTrack>(this, track));
} else if (track->trackType() == TextTrack::InBand) {
- m_inbandTracks.append(TraceWrapperMember<TextTrack>(this, track));
+ m_inbandTracks.push_back(TraceWrapperMember<TextTrack>(this, track));
} else {
NOTREACHED();
}
« no previous file with comments | « third_party/WebKit/Source/core/html/track/CueTimeline.cpp ('k') | third_party/WebKit/Source/core/html/track/TrackListBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698