Index: webrtc/p2p/base/dtlstransport.h |
diff --git a/webrtc/p2p/base/dtlstransport.h b/webrtc/p2p/base/dtlstransport.h |
index 276b05f786f265bf026f941fa32bb75a51fe130d..2ff2ea5db8bcc53549dcbb5de7e92c59771e6651 100644 |
--- a/webrtc/p2p/base/dtlstransport.h |
+++ b/webrtc/p2p/base/dtlstransport.h |
@@ -11,6 +11,8 @@ |
#ifndef WEBRTC_P2P_BASE_DTLSTRANSPORT_H_ |
#define WEBRTC_P2P_BASE_DTLSTRANSPORT_H_ |
+#include <memory> |
+ |
#include "webrtc/p2p/base/dtlstransportchannel.h" |
#include "webrtc/p2p/base/transport.h" |
@@ -67,7 +69,7 @@ class DtlsTransport : public Base { |
if (local_fp) { |
// Sanity check local fingerprint. |
if (certificate_) { |
- rtc::scoped_ptr<rtc::SSLFingerprint> local_fp_tmp( |
+ std::unique_ptr<rtc::SSLFingerprint> local_fp_tmp( |
rtc::SSLFingerprint::Create(local_fp->algorithm, |
certificate_->identity())); |
ASSERT(local_fp_tmp.get() != NULL); |
@@ -242,7 +244,7 @@ class DtlsTransport : public Base { |
rtc::scoped_refptr<rtc::RTCCertificate> certificate_; |
rtc::SSLRole secure_role_; |
rtc::SSLProtocolVersion ssl_max_version_; |
- rtc::scoped_ptr<rtc::SSLFingerprint> remote_fingerprint_; |
+ std::unique_ptr<rtc::SSLFingerprint> remote_fingerprint_; |
}; |
} // namespace cricket |