| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
| index 71d5f563f0ac347ad4ce2cc2b746a37ebcfcc296..7badf063c8a5ecb059a57fc3d016b3639eb12fbb 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
| @@ -7733,7 +7733,9 @@ static void postMessageImpl(const char* interfaceName, TestObject* instance, con
|
| RefPtr<SerializedScriptValue> message;
|
| if (instance->canTransferArrayBuffersAndImageBitmaps()) {
|
| // This instance supports sending array buffers by move semantics.
|
| - message = SerializedScriptValue::serialize(info.GetIsolate(), info[0], &transferables, nullptr, exceptionState);
|
| + SerializedScriptValue::SerializeOptions options;
|
| + options.transferables = &transferables;
|
| + message = SerializedScriptValue::serialize(info.GetIsolate(), info[0], options, exceptionState);
|
| if (exceptionState.hadException())
|
| return;
|
| } else {
|
| @@ -7749,7 +7751,9 @@ static void postMessageImpl(const char* interfaceName, TestObject* instance, con
|
| transferables.arrayBuffers.clear();
|
| ImageBitmapArray transferableImageBitmaps = transferables.imageBitmaps;
|
| transferables.imageBitmaps.clear();
|
| - message = SerializedScriptValue::serialize(info.GetIsolate(), info[0], &transferables, nullptr, exceptionState);
|
| + SerializedScriptValue::SerializeOptions options;
|
| + options.transferables = &transferables;
|
| + message = SerializedScriptValue::serialize(info.GetIsolate(), info[0], options, exceptionState);
|
| if (exceptionState.hadException())
|
| return;
|
|
|
|
|