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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThreadStartupData.cpp

Issue 2617783002: Migrate WTF::Vector::append() to ::push_back() [part 12 of N] (Closed)
Patch Set: rebase Created 3 years, 11 months 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/workers/WorkerThreadStartupData.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerThreadStartupData.cpp b/third_party/WebKit/Source/core/workers/WorkerThreadStartupData.cpp
index 336687a099a59efb89629957460dbe8cc88c105b..b282527a7e12c57be12ee10e85b35d051126dc56 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThreadStartupData.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerThreadStartupData.cpp
@@ -66,14 +66,14 @@ WorkerThreadStartupData::WorkerThreadStartupData(
if (contentSecurityPolicyHeaders) {
for (const auto& header : *contentSecurityPolicyHeaders) {
CSPHeaderAndType copiedHeader(header.first.isolatedCopy(), header.second);
- m_contentSecurityPolicyHeaders->append(copiedHeader);
+ m_contentSecurityPolicyHeaders->push_back(copiedHeader);
}
}
m_originTrialTokens = std::unique_ptr<Vector<String>>(new Vector<String>());
if (originTrialTokens) {
for (const String& token : *originTrialTokens)
- m_originTrialTokens->append(token.isolatedCopy());
+ m_originTrialTokens->push_back(token.isolatedCopy());
}
}

Powered by Google App Engine
This is Rietveld 408576698