| Index: third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp b/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp
|
| index 7e3a5d03bc008cfe5b96838b62401f1d7ae481c7..cbcfe6f28d2b401632f37caac6471af2d57542b9 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp
|
| @@ -77,7 +77,7 @@ v8::Local<v8::Value> roundTrip(v8::Local<v8::Value> value,
|
| : scope.getExceptionState();
|
|
|
| // Extract message ports and disentangle them.
|
| - std::unique_ptr<MessagePortChannelArray> channels;
|
| + MessagePortChannelArray channels;
|
| if (transferables) {
|
| channels = MessagePort::disentanglePorts(scope.getExecutionContext(),
|
| transferables->messagePorts,
|
| @@ -260,8 +260,7 @@ class WebMessagePortChannelImpl final : public WebMessagePortChannel {
|
| public:
|
| // WebMessagePortChannel
|
| void setClient(WebMessagePortChannelClient* client) override {}
|
| - void destroy() override { delete this; }
|
| - void postMessage(const WebString&, WebMessagePortChannelArray*) {
|
| + void postMessage(const WebString&, WebMessagePortChannelArray) {
|
| NOTIMPLEMENTED();
|
| }
|
| bool tryGetMessage(WebString*, WebMessagePortChannelArray&) { return false; }
|
|
|