| Index: Source/modules/serviceworkers/ServiceWorkerClients.cpp
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerClients.cpp b/Source/modules/serviceworkers/ServiceWorkerClients.cpp
|
| index 149a71b2a5e73ca1516359d628237b440d8dfbb2..c528e527be0c033f8dde0b35dbcf1f48a8940e3d 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerClients.cpp
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerClients.cpp
|
| @@ -7,7 +7,7 @@
|
|
|
| #include "bindings/core/v8/CallbackPromiseAdapter.h"
|
| #include "bindings/core/v8/ScriptPromiseResolver.h"
|
| -#include "modules/serviceworkers/Client.h"
|
| +#include "modules/serviceworkers/ServiceWorkerClient.h"
|
| #include "modules/serviceworkers/ServiceWorkerError.h"
|
| #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h"
|
| #include "public/platform/WebServiceWorkerClientsInfo.h"
|
| @@ -21,12 +21,12 @@ namespace {
|
| class ClientArray {
|
| public:
|
| typedef blink::WebServiceWorkerClientsInfo WebType;
|
| - static WillBeHeapVector<RefPtrWillBeMember<Client> > take(ScriptPromiseResolver*, WebType* webClientsRaw)
|
| + static WillBeHeapVector<RefPtrWillBeMember<ServiceWorkerClient> > take(ScriptPromiseResolver*, WebType* webClientsRaw)
|
| {
|
| OwnPtr<WebType> webClients = adoptPtr(webClientsRaw);
|
| - WillBeHeapVector<RefPtrWillBeMember<Client> > clients;
|
| + WillBeHeapVector<RefPtrWillBeMember<ServiceWorkerClient> > clients;
|
| for (size_t i = 0; i < webClients->clientIDs.size(); ++i) {
|
| - clients.append(Client::create(webClients->clientIDs[i]));
|
| + clients.append(ServiceWorkerClient::create(webClients->clientIDs[i]));
|
| }
|
| return clients;
|
| }
|
|
|