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 4da53c0411eec16f40ae1f445ba163196f02d512..5745bb0717c2b6f487f1bad51813ab3af30128e6 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; } |