| Index: third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp
|
| diff --git a/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp b/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp
|
| index c9f5345b271165437cbdeae6572b9014ec2d0625..208fd6929e892f123eca7c0f717cea8053e13176 100644
|
| --- a/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp
|
| +++ b/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp
|
| @@ -67,7 +67,7 @@ RTCDataChannel* RTCDataChannel::create(ExecutionContext* context, WebRTCPeerConn
|
| exceptionState.throwDOMException(NotSupportedError, "RTCDataChannel is not supported");
|
| return nullptr;
|
| }
|
| - RTCDataChannel* channel = new RTCDataChannel(context, handler.release());
|
| + RTCDataChannel* channel = new RTCDataChannel(context, std::move(handler));
|
| channel->suspendIfNeeded();
|
|
|
| return channel;
|
|
|