| Index: Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| diff --git a/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| index d103b18f4fe8d7f962498b9f406860ce1f4a0d2e..b7b0292d56dbca8ada8eb3fb1f058162b7a81bc9 100644
|
| --- a/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| +++ b/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "bindings/core/v8/WorkerScriptController.h"
|
| #include "core/dom/ExecutionContext.h"
|
| +#include "core/dom/ExecutionContextTask.h"
|
| #include "core/dom/MessagePort.h"
|
| #include "core/events/MessageEvent.h"
|
| #include "core/workers/WorkerGlobalScope.h"
|
| @@ -142,7 +143,7 @@ void ServiceWorkerGlobalScopeProxy::workerGlobalScopeStarted(WorkerGlobalScope*
|
|
|
| void ServiceWorkerGlobalScopeProxy::workerGlobalScopeClosed()
|
| {
|
| - m_executionContext.postTask(bind(&WebEmbeddedWorkerImpl::terminateWorkerContext, &m_embeddedWorker));
|
| + m_executionContext.postTask(createCallClosureTask(&WebEmbeddedWorkerImpl::terminateWorkerContext, &m_embeddedWorker));
|
| }
|
|
|
| void ServiceWorkerGlobalScopeProxy::willDestroyWorkerGlobalScope()
|
|
|