Index: webrtc/api/webrtcsessiondescriptionfactory.cc |
diff --git a/webrtc/api/webrtcsessiondescriptionfactory.cc b/webrtc/api/webrtcsessiondescriptionfactory.cc |
index 78840e2fac3406bc9ddd4cd93229e533896549d7..584125f989573b8c0bf8d734da0df9f02fc5b41a 100644 |
--- a/webrtc/api/webrtcsessiondescriptionfactory.cc |
+++ b/webrtc/api/webrtcsessiondescriptionfactory.cc |
@@ -82,13 +82,13 @@ void WebRtcIdentityRequestObserver::OnSuccess( |
rtc::kPemTypeRsaPrivateKey, |
reinterpret_cast<const unsigned char*>(der_private_key.data()), |
der_private_key.length()); |
- rtc::scoped_ptr<rtc::SSLIdentity> identity( |
+ std::unique_ptr<rtc::SSLIdentity> identity( |
rtc::SSLIdentity::FromPEMStrings(pem_key, pem_cert)); |
SignalCertificateReady(rtc::RTCCertificate::Create(std::move(identity))); |
} |
void WebRtcIdentityRequestObserver::OnSuccess( |
- rtc::scoped_ptr<rtc::SSLIdentity> identity) { |
+ std::unique_ptr<rtc::SSLIdentity> identity) { |
SignalCertificateReady(rtc::RTCCertificate::Create(std::move(identity))); |
} |