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 9b9a877fb401ba625233eef506f6dc1d549cd1a3..039a4f3aadfad6eef5c52801ea19a94ce69b3617 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" |
@@ -65,7 +66,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 |