| 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 23cf9cebf34986daa1d6867ba7d6b16251f34bac..0cf0264e31182b694d5474930b46f7b815042a2f 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
| @@ -10038,7 +10038,7 @@ void postMessageImpl(const char* interfaceName, TestObject* instance, const v8::
|
| exceptionState.throwIfNeeded();
|
| return;
|
| }
|
| - RawPtr<MessagePortArray> ports = new MessagePortArray;
|
| + MessagePortArray* ports = new MessagePortArray;
|
| ArrayBufferArray arrayBuffers;
|
| ImageBitmapArray imageBitmaps;
|
| if (info.Length() > 1) {
|
| @@ -10048,12 +10048,12 @@ void postMessageImpl(const char* interfaceName, TestObject* instance, const v8::
|
| return;
|
| }
|
| }
|
| - RefPtr<SerializedScriptValue> message = SerializedScriptValueFactory::instance().create(info.GetIsolate(), info[0], ports.get(), &arrayBuffers, &imageBitmaps, exceptionState);
|
| + RefPtr<SerializedScriptValue> message = SerializedScriptValueFactory::instance().create(info.GetIsolate(), info[0], ports, &arrayBuffers, &imageBitmaps, exceptionState);
|
| if (exceptionState.throwIfNeeded())
|
| return;
|
| // FIXME: Only pass context/exceptionState if instance really requires it.
|
| ExecutionContext* context = currentExecutionContext(info.GetIsolate());
|
| - instance->postMessage(context, message.release(), ports.get(), exceptionState);
|
| + instance->postMessage(context, message.release(), ports, exceptionState);
|
| exceptionState.throwIfNeeded();
|
| }
|
|
|
|
|