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

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

Issue 1045363004: ServiceWorker: Clean up clients-matchall-client-types.html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « LayoutTests/http/tests/serviceworker/resources/clients-matchall-client-types-worker.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ServiceWorkerClients.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorkerClients.cpp b/Source/modules/serviceworkers/ServiceWorkerClients.cpp
index bb29874224a221a3136fcc7a288840ad80e9a0de..2493435db3f708694586f31e23dbdbad2729302e 100644
--- a/Source/modules/serviceworkers/ServiceWorkerClients.cpp
+++ b/Source/modules/serviceworkers/ServiceWorkerClients.cpp
@@ -30,7 +30,7 @@ public:
OwnPtr<WebType> webClients = adoptPtr(webClientsRaw);
HeapVector<Member<ServiceWorkerClient>> clients;
for (size_t i = 0; i < webClients->clients.size(); ++i) {
- WebServiceWorkerClientInfo& client = webClients->clients[i];
+ const WebServiceWorkerClientInfo& client = webClients->clients[i];
if (client.clientType == WebServiceWorkerClientTypeWindow)
clients.append(ServiceWorkerWindowClient::create(client));
else
« no previous file with comments | « LayoutTests/http/tests/serviceworker/resources/clients-matchall-client-types-worker.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698