Index: webrtc/api/test/fakedtlsidentitystore.h |
diff --git a/webrtc/api/test/fakedtlsidentitystore.h b/webrtc/api/test/fakedtlsidentitystore.h |
index 8bbffbf93e96e63c6ea1a54da8b00a559802d633..89c4084d120850ed828d9266c7431db039d67274 100644 |
--- a/webrtc/api/test/fakedtlsidentitystore.h |
+++ b/webrtc/api/test/fakedtlsidentitystore.h |
@@ -11,6 +11,7 @@ |
#ifndef WEBRTC_API_TEST_FAKEDTLSIDENTITYSERVICE_H_ |
#define WEBRTC_API_TEST_FAKEDTLSIDENTITYSERVICE_H_ |
+#include <memory> |
#include <string> |
#include <utility> |
@@ -127,7 +128,7 @@ class FakeDtlsIdentityStore : public webrtc::DtlsIdentityStoreInterface, |
rtc::kPemTypeRsaPrivateKey, |
reinterpret_cast<const unsigned char*>(key.data()), |
key.length()); |
- rtc::scoped_ptr<rtc::SSLIdentity> identity( |
+ std::unique_ptr<rtc::SSLIdentity> identity( |
rtc::SSLIdentity::FromPEMStrings(pem_key, pem_cert)); |
return rtc::RTCCertificate::Create(std::move(identity)); |