Index: Source/bindings/v8/custom/V8WorkerCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8WorkerCustom.cpp b/Source/bindings/v8/custom/V8WorkerCustom.cpp |
index 6c09af45e1741815842bf3c3c8f7aa375060ca3e..0d84bbf7145c5df90727825e09f1326c3fa798dc 100644 |
--- a/Source/bindings/v8/custom/V8WorkerCustom.cpp |
+++ b/Source/bindings/v8/custom/V8WorkerCustom.cpp |
@@ -35,7 +35,6 @@ |
#include "bindings/v8/ExceptionState.h" |
#include "bindings/v8/SerializedScriptValue.h" |
#include "bindings/v8/V8Binding.h" |
-#include "bindings/v8/V8Utilities.h" |
#include "core/workers/Worker.h" |
#include "core/workers/WorkerGlobalScope.h" |
#include "wtf/ArrayBuffer.h" |
@@ -50,7 +49,7 @@ void V8Worker::postMessageMethodCustom(const v8::FunctionCallbackInfo<v8::Value> |
ArrayBufferArray arrayBuffers; |
if (info.Length() > 1) { |
const int transferablesArgIndex = 1; |
- if (!extractTransferables(info[transferablesArgIndex], transferablesArgIndex, ports, arrayBuffers, exceptionState, info.GetIsolate())) { |
+ if (!SerializedScriptValue::extractTransferables(info[transferablesArgIndex], transferablesArgIndex, ports, arrayBuffers, exceptionState, info.GetIsolate())) { |
exceptionState.throwIfNeeded(); |
return; |
} |