Index: Source/bindings/tests/results/core/V8TestObject.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestObject.cpp b/Source/bindings/tests/results/core/V8TestObject.cpp |
index 70e4e01aa0cec8a2978d401f1bd545033f3bbf06..ac08315348de1271f87255dd3545a5f71d218ae1 100644 |
--- a/Source/bindings/tests/results/core/V8TestObject.cpp |
+++ b/Source/bindings/tests/results/core/V8TestObject.cpp |
@@ -56,6 +56,7 @@ |
#include "core/dom/ClassCollection.h" |
#include "core/dom/ContextFeatures.h" |
#include "core/dom/DOMArrayBuffer.h" |
+#include "core/dom/DOMSharedArrayBuffer.h" |
#include "core/dom/Document.h" |
#include "core/dom/MessagePort.h" |
#include "core/dom/TagCollection.h" |
@@ -1097,7 +1098,7 @@ static void serializedScriptValueAttributeAttributeSetter(v8::Local<v8::Value> v |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "serializedScriptValueAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- RefPtr<SerializedScriptValue> cppValue = SerializedScriptValueFactory::instance().create(info.GetIsolate(), v8Value, 0, 0, exceptionState); |
+ RefPtr<SerializedScriptValue> cppValue = SerializedScriptValueFactory::instance().create(info.GetIsolate(), v8Value, 0, 0, 0, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setSerializedScriptValueAttribute(WTF::getPtr(cppValue)); |
@@ -7921,7 +7922,7 @@ static void voidMethodSerializedScriptValueArgMethod(const v8::FunctionCallbackI |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
RefPtr<SerializedScriptValue> serializedScriptValueArg; |
{ |
- serializedScriptValueArg = SerializedScriptValueFactory::instance().create(info.GetIsolate(), info[0], 0, 0, exceptionState); |
+ serializedScriptValueArg = SerializedScriptValueFactory::instance().create(info.GetIsolate(), info[0], 0, 0, 0, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10895,14 +10896,15 @@ void postMessageImpl(const char* interfaceName, TestObject* instance, const v8:: |
} |
OwnPtrWillBeRawPtr<MessagePortArray> ports = adoptPtrWillBeNoop(new MessagePortArray); |
ArrayBufferArray arrayBuffers; |
+ SharedArrayBufferArray sharedArrayBuffers; |
if (info.Length() > 1) { |
const int transferablesArgIndex = 1; |
- if (!SerializedScriptValue::extractTransferables(info.GetIsolate(), info[transferablesArgIndex], transferablesArgIndex, *ports, arrayBuffers, exceptionState)) { |
+ if (!SerializedScriptValue::extractTransferables(info.GetIsolate(), info[transferablesArgIndex], transferablesArgIndex, *ports, arrayBuffers, sharedArrayBuffers, exceptionState)) { |
exceptionState.throwIfNeeded(); |
return; |
} |
} |
- RefPtr<SerializedScriptValue> message = SerializedScriptValueFactory::instance().create(info.GetIsolate(), info[0], ports.get(), &arrayBuffers, exceptionState); |
+ RefPtr<SerializedScriptValue> message = SerializedScriptValueFactory::instance().create(info.GetIsolate(), info[0], ports.get(), &arrayBuffers, &sharedArrayBuffers, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
// FIXME: Only pass context/exceptionState if instance really requires it. |