| 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 a156a9497f0c203064c25a485e073dc41a26c4a1..8070617fe66e95da9f14dbbdb08faf8b45ba1c45 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp
|
| @@ -14,6 +14,7 @@
|
| #include "modules/serviceworkers/ServiceWorkerError.h"
|
| #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h"
|
| #include "modules/serviceworkers/ServiceWorkerWindowClient.h"
|
| +#include "modules/serviceworkers/ServiceWorkerWindowClientCallback.h"
|
| #include "public/platform/modules/serviceworker/WebServiceWorkerClientQueryOptions.h"
|
| #include "public/platform/modules/serviceworker/WebServiceWorkerClientsInfo.h"
|
| #include "wtf/OwnPtr.h"
|
| @@ -127,7 +128,7 @@ ScriptPromise ServiceWorkerClients::openWindow(ScriptState* scriptState, const S
|
| }
|
| context->consumeWindowInteraction();
|
|
|
| - ServiceWorkerGlobalScopeClient::from(context)->openWindow(parsedUrl, new CallbackPromiseAdapter<ServiceWorkerWindowClient, ServiceWorkerError>(resolver));
|
| + ServiceWorkerGlobalScopeClient::from(context)->openWindow(parsedUrl, new NavigateClientCallback(resolver));
|
| return promise;
|
| }
|
|
|
|
|