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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp

Issue 2614663008: Migrate WTF::Vector::append() to ::push_back() [part 13 of N] (Closed)
Patch Set: 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/modules/serviceworkers/ServiceWorkerClients.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp
index 0bb91877c35b2a24d7d22557f557801453209a66..1c842fbe5de04554853113710ed2a0c5592fe0e3 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp
@@ -36,9 +36,9 @@ class ClientArray {
for (size_t i = 0; i < webClients.clients.size(); ++i) {
const WebServiceWorkerClientInfo& client = webClients.clients[i];
if (client.clientType == WebServiceWorkerClientTypeWindow)
- clients.append(ServiceWorkerWindowClient::create(client));
+ clients.push_back(ServiceWorkerWindowClient::create(client));
else
- clients.append(ServiceWorkerClient::create(client));
+ clients.push_back(ServiceWorkerClient::create(client));
}
return clients;
}

Powered by Google App Engine
This is Rietveld 408576698