| 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 c9414d97322eeb21254aee0a5df30a5c1d6b7b0d..285f31becdb12290cc1718644aaf2df3ff3221d3 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp
|
| @@ -63,7 +63,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,
|
| @@ -239,8 +239,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; }
|
|
|