Index: webrtc/p2p/base/faketransportcontroller.h |
diff --git a/webrtc/p2p/base/faketransportcontroller.h b/webrtc/p2p/base/faketransportcontroller.h |
index 394e6dd1540a921501fbf8d81dd0d1fd6d2103ab..c099c8cb796e1f132578a39631fe87670b3d434c 100644 |
--- a/webrtc/p2p/base/faketransportcontroller.h |
+++ b/webrtc/p2p/base/faketransportcontroller.h |
@@ -12,6 +12,7 @@ |
#define WEBRTC_P2P_BASE_FAKETRANSPORTCONTROLLER_H_ |
#include <map> |
+#include <memory> |
#include <string> |
#include <vector> |
@@ -260,9 +261,9 @@ class FakeTransportChannel : public TransportChannelImpl, |
return local_cert_; |
} |
- rtc::scoped_ptr<rtc::SSLCertificate> GetRemoteSSLCertificate() |
+ std::unique_ptr<rtc::SSLCertificate> GetRemoteSSLCertificate() |
const override { |
- return remote_cert_ ? rtc::scoped_ptr<rtc::SSLCertificate>( |
+ return remote_cert_ ? std::unique_ptr<rtc::SSLCertificate>( |
remote_cert_->GetReference()) |
: nullptr; |
} |