| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.cpp
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.cpp
|
| index a295a23a0e40e31f59c90c601ccacdfdd500afd3..f46a95db247f71c4ff0ff2049ffe8cbffd2f3843 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.cpp
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.cpp
|
| @@ -44,6 +44,11 @@ ServiceWorkerGlobalScopeClient* ServiceWorkerGlobalScopeClient::from(ExecutionCo
|
| {
|
| WorkerClients* clients = toWorkerGlobalScope(context)->clients();
|
| ASSERT(clients);
|
| + return from(clients);
|
| +}
|
| +
|
| +ServiceWorkerGlobalScopeClient* ServiceWorkerGlobalScopeClient::from(WorkerClients* clients)
|
| +{
|
| return static_cast<ServiceWorkerGlobalScopeClient*>(Supplement<WorkerClients>::from(clients, supplementName()));
|
| }
|
|
|
|
|