| 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 f60a7a544afe0d139f3b4c262078260e3033617d..4444b4b61b07706e0ba89e31b437f847cba24366 100644
|
| --- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
|
| +++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
|
| @@ -503,7 +503,8 @@
|
| return;
|
| }
|
|
|
| - peer_handler_ = Platform::Current()->CreateRTCPeerConnectionHandler(this);
|
| + peer_handler_ = WTF::WrapUnique(
|
| + Platform::Current()->CreateRTCPeerConnectionHandler(this));
|
| if (!peer_handler_) {
|
| closed_ = true;
|
| stopped_ = true;
|
| @@ -924,7 +925,7 @@
|
| DCHECK(!key_params.IsNull());
|
|
|
| std::unique_ptr<WebRTCCertificateGenerator> certificate_generator =
|
| - Platform::Current()->CreateRTCCertificateGenerator();
|
| + WTF::WrapUnique(Platform::Current()->CreateRTCCertificateGenerator());
|
|
|
| // |keyParams| was successfully constructed, but does the certificate
|
| // generator support these parameters?
|
|
|