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

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

Issue 778703004: Implement ServiceWorkerClient attributes [3/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@properties-step1
Patch Set: Created 6 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: Source/modules/serviceworkers/ServiceWorkerClients.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorkerClients.cpp b/Source/modules/serviceworkers/ServiceWorkerClients.cpp
index 86ba8f3be701102be0549bdf29b0a113fdd3966f..e5405b442b7616687a6c4f4c40281a4e582cb2e7 100644
--- a/Source/modules/serviceworkers/ServiceWorkerClients.cpp
+++ b/Source/modules/serviceworkers/ServiceWorkerClients.cpp
@@ -27,10 +27,7 @@ namespace {
OwnPtr<WebType> webClients = adoptPtr(webClientsRaw);
HeapVector<Member<ServiceWorkerClient> > clients;
for (size_t i = 0; i < webClients->clients.size(); ++i) {
- clients.append(ServiceWorkerClient::create(webClients->clients[i].clientID));
- }
- for (size_t i = 0; i < webClients->clientIDs.size(); ++i) {
- clients.append(ServiceWorkerClient::create(webClients->clientIDs[i]));
+ clients.append(ServiceWorkerClient::create(webClients->clients[i]));
}
return clients;
}

Powered by Google App Engine
This is Rietveld 408576698