| Index: third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
|
| index 6990487f365860d2dffe2157c70718ba97312791..aed2cea94aa0dbf06dfad0f60d24efc9c4058928 100644
|
| --- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
|
| @@ -57,8 +57,8 @@ bool InProcessWorkerBase::initialize(ExecutionContext* context, const String& ur
|
| scriptURL,
|
| DenyCrossOriginRequests,
|
| context->securityContext().addressSpace(),
|
| - bind(&InProcessWorkerBase::onResponse, this),
|
| - bind(&InProcessWorkerBase::onFinished, this));
|
| + bind(&InProcessWorkerBase::onResponse, wrapCrossThreadPersistent(this)),
|
| + bind(&InProcessWorkerBase::onFinished, wrapCrossThreadPersistent(this)));
|
|
|
| m_contextProxy = createInProcessWorkerGlobalScopeProxy(context);
|
|
|
|
|