Index: webrtc/api/webrtcsession_unittest.cc |
diff --git a/webrtc/api/webrtcsession_unittest.cc b/webrtc/api/webrtcsession_unittest.cc |
index feb1518db0114b6591ec483b5ffecb152dba9b7d..4cb6cc441e381692e93777138ed4c11fa5dd431e 100644 |
--- a/webrtc/api/webrtcsession_unittest.cc |
+++ b/webrtc/api/webrtcsession_unittest.cc |
@@ -8,6 +8,7 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
+#include <memory> |
#include <utility> |
#include <vector> |
@@ -692,7 +693,7 @@ class WebRtcSessionTest |
rtc::ToString(rtc::CreateRandomId()); |
// Confirmed to work with KT_RSA and KT_ECDSA. |
tdesc_factory_->set_certificate( |
- rtc::RTCCertificate::Create(rtc::scoped_ptr<rtc::SSLIdentity>( |
+ rtc::RTCCertificate::Create(std::unique_ptr<rtc::SSLIdentity>( |
rtc::SSLIdentity::Generate(identity_name, rtc::KT_DEFAULT)))); |
tdesc_factory_->set_secure(cricket::SEC_REQUIRED); |
} |