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

Unified Diff: third_party/WebKit/Source/core/html/track/vtt/VTTParser.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/vtt/VTTParser.cpp
diff --git a/third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp b/third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp
index 54e1fb8fd8848e0dd460a5de5ad8536c2efe3fe6..6d589565ef6f8d4bdf3c5cbe0406667130df3f80 100644
--- a/third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp
+++ b/third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp
@@ -378,7 +378,7 @@ void VTTParser::createNewCue() {
cue->setId(m_currentId);
cue->parseSettings(m_currentSettings);
- m_cueList.append(cue);
+ m_cueList.push_back(cue);
if (m_client)
m_client->newCuesParsed();
}
@@ -409,7 +409,7 @@ void VTTParser::createNewRegion(const String& headerValue) {
}
// Step 12.5.11
- m_regionList.append(region);
+ m_regionList.push_back(region);
}
bool VTTParser::collectTimeStamp(const String& line, double& timeStamp) {
@@ -522,7 +522,7 @@ void VTTTreeBuilder::constructTreeFromToken(Document& document) {
child->setAttribute(VTTElement::voiceAttributeName(),
m_token.annotation());
} else if (nodeType == VTTNodeTypeLanguage) {
- m_languageStack.append(m_token.annotation());
+ m_languageStack.push_back(m_token.annotation());
child->setAttribute(VTTElement::langAttributeName(),
m_languageStack.back());
}

Powered by Google App Engine
This is Rietveld 408576698