| Index: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
|
| diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
|
| index e97e12ef7f150f7430f40e96c3831316ac1be28f..d4aec0a78638e1e189a9feed3773b9846f96de66 100644
|
| --- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
|
| +++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
|
| @@ -503,8 +503,7 @@ RTCPeerConnection::RTCPeerConnection(ExecutionContext* context,
|
| return;
|
| }
|
|
|
| - peer_handler_ = WTF::WrapUnique(
|
| - Platform::Current()->CreateRTCPeerConnectionHandler(this));
|
| + peer_handler_ = Platform::Current()->CreateRTCPeerConnectionHandler(this);
|
| if (!peer_handler_) {
|
| closed_ = true;
|
| stopped_ = true;
|
| @@ -925,7 +924,7 @@ ScriptPromise RTCPeerConnection::generateCertificate(
|
| DCHECK(!key_params.IsNull());
|
|
|
| std::unique_ptr<WebRTCCertificateGenerator> certificate_generator =
|
| - WTF::WrapUnique(Platform::Current()->CreateRTCCertificateGenerator());
|
| + Platform::Current()->CreateRTCCertificateGenerator();
|
|
|
| // |keyParams| was successfully constructed, but does the certificate
|
| // generator support these parameters?
|
|
|