| Index: third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp b/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp
|
| index 48a20138f9e1a11ca8c6419495a73734a3c81d9b..ebdb27e1f7e157ad4b6d4c9d128b245ee396e683 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp
|
| @@ -28,6 +28,7 @@
|
|
|
| #include "core/workers/WorkerMessagingProxy.h"
|
|
|
| +#include "bindings/core/v8/V8GCController.h"
|
| #include "core/dom/CrossThreadTask.h"
|
| #include "core/dom/Document.h"
|
| #include "core/events/ErrorEvent.h"
|
| @@ -66,7 +67,7 @@ void processMessageOnWorkerGlobalScope(PassRefPtr<SerializedScriptValue> message
|
| WorkerGlobalScope* globalScope = toWorkerGlobalScope(scriptContext);
|
| MessagePortArray* ports = MessagePort::entanglePorts(*scriptContext, channels);
|
| globalScope->dispatchEvent(MessageEvent::create(ports, message));
|
| - workerObjectProxy->confirmMessageFromWorkerObject(scriptContext->hasPendingActivity());
|
| + workerObjectProxy->confirmMessageFromWorkerObject(V8GCController::hasPendingActivity(scriptContext));
|
| }
|
|
|
| } // namespace
|
|
|