| Index: Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| diff --git a/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| index 38b8c39e34613a7ae8d776fc7ec37f3711339930..798ac15567f2a197792cbe5893437751d0a398df 100644
|
| --- a/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| +++ b/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| @@ -204,6 +204,13 @@ void ServiceWorkerGlobalScopeProxy::didEvaluateWorkerScript(bool success)
|
| m_client.didEvaluateWorkerScript(success);
|
| }
|
|
|
| +void ServiceWorkerGlobalScopeProxy::didInitializeWorkerContext()
|
| +{
|
| + ASSERT(m_workerGlobalScope);
|
| + ScriptState::Scope scope(m_workerGlobalScope->script()->scriptState());
|
| + m_client.didInitializeWorkerContext(m_workerGlobalScope->script()->context(), WebURL(m_document.url()));
|
| +}
|
| +
|
| void ServiceWorkerGlobalScopeProxy::workerGlobalScopeStarted(WorkerGlobalScope* workerGlobalScope)
|
| {
|
| ASSERT(!m_workerGlobalScope);
|
|
|