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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.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/parser/HTMLDocumentParser.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
index 6f29385a673e53530f93a804ddddc82f44c42295..d2e0a7e3f7aa3a86aab558456fe3323f824674e7 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
@@ -347,14 +347,14 @@ void HTMLDocumentParser::notifyPendingTokenizedChunks() {
// Link rel preloads don't need to wait for AppCache but they
// should probably wait for CSP.
if (!m_pendingCSPMetaToken && request->isLinkRelPreload())
- linkRelPreloads.append(std::move(request));
+ linkRelPreloads.push_back(std::move(request));
else
- m_queuedPreloads.append(std::move(request));
+ m_queuedPreloads.push_back(std::move(request));
}
for (auto& index : chunk->likelyDocumentWriteScriptIndices) {
const CompactHTMLToken& token = chunk->tokens->at(index);
ASSERT(token.type() == HTMLToken::TokenType::Character);
- m_queuedDocumentWriteScripts.append(token.data());
+ m_queuedDocumentWriteScripts.push_back(token.data());
}
}
m_preloader->takeAndPreload(linkRelPreloads);

Powered by Google App Engine
This is Rietveld 408576698