Index: webrtc/base/sslsocketfactory.cc |
diff --git a/webrtc/base/sslsocketfactory.cc b/webrtc/base/sslsocketfactory.cc |
index d6ec56fd406650cdfdf7d5b0ed5ba643e1dc687d..7ab58fd04c6f53177bd1c47a2c66e439e0e93559 100644 |
--- a/webrtc/base/sslsocketfactory.cc |
+++ b/webrtc/base/sslsocketfactory.cc |
@@ -8,10 +8,11 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
+#include <memory> |
+ |
#include "webrtc/base/autodetectproxy.h" |
#include "webrtc/base/httpcommon.h" |
#include "webrtc/base/httpcommon-inl.h" |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/base/socketadapters.h" |
#include "webrtc/base/ssladapter.h" |
#include "webrtc/base/sslsocketfactory.h" |
@@ -167,7 +168,7 @@ AsyncSocket* SslSocketFactory::CreateProxySocket(const ProxyInfo& proxy, |
} |
if (!hostname_.empty()) { |
- rtc::scoped_ptr<SSLAdapter> ssl_adapter(SSLAdapter::Create(socket)); |
+ std::unique_ptr<SSLAdapter> ssl_adapter(SSLAdapter::Create(socket)); |
if (!ssl_adapter) { |
LOG_F(LS_ERROR) << "SSL unavailable"; |
delete socket; |