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