Index: webrtc/p2p/base/transport_unittest.cc |
diff --git a/webrtc/p2p/base/transport_unittest.cc b/webrtc/p2p/base/transport_unittest.cc |
index fba72b43deacbccd8d51afed0430e570dd01da20..cde60ce964a090439fb5d41ac4e4e8134ed1fb5c 100644 |
--- a/webrtc/p2p/base/transport_unittest.cc |
+++ b/webrtc/p2p/base/transport_unittest.cc |
@@ -245,7 +245,7 @@ TEST_F(TransportTest, TestVerifyCertificateFingerprint) { |
for (auto& key_type : key_types) { |
rtc::scoped_refptr<rtc::RTCCertificate> certificate = |
- rtc::RTCCertificate::Create(rtc::scoped_ptr<rtc::SSLIdentity>( |
+ rtc::RTCCertificate::Create(std::unique_ptr<rtc::SSLIdentity>( |
rtc::SSLIdentity::Generate("testing", key_type))); |
ASSERT_NE(nullptr, certificate); |
@@ -253,7 +253,7 @@ TEST_F(TransportTest, TestVerifyCertificateFingerprint) { |
ASSERT_TRUE(certificate->ssl_certificate().GetSignatureDigestAlgorithm( |
&digest_algorithm)); |
ASSERT_FALSE(digest_algorithm.empty()); |
- rtc::scoped_ptr<rtc::SSLFingerprint> good_fingerprint( |
+ std::unique_ptr<rtc::SSLFingerprint> good_fingerprint( |
rtc::SSLFingerprint::Create(digest_algorithm, certificate->identity())); |
ASSERT_NE(nullptr, good_fingerprint); |