Index: talk/app/webrtc/objc/RTCPeerConnectionInterface.mm |
diff --git a/talk/app/webrtc/objc/RTCPeerConnectionInterface.mm b/talk/app/webrtc/objc/RTCPeerConnectionInterface.mm |
index 0d8c3aec5237b12a813283d683a800b7147b1809..7cc10e9d85bf81bffcda25118e668db62089bd14 100644 |
--- a/talk/app/webrtc/objc/RTCPeerConnectionInterface.mm |
+++ b/talk/app/webrtc/objc/RTCPeerConnectionInterface.mm |
@@ -101,8 +101,7 @@ |
rtc::SSLIdentity::Generate(webrtc::kIdentityName, rtc::KT_ECDSA)); |
if (identity) { |
nativeConfig.certificates.push_back( |
- rtc::RTCCertificate::Create( |
- rtc::UniqueToScoped(std::move(identity)))); |
+ rtc::RTCCertificate::Create(std::move(identity))); |
} else { |
RTCLogWarning(@"Failed to generate ECDSA identity. RSA will be used."); |
} |