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); |