Index: webrtc/p2p/stunprober/main.cc |
diff --git a/webrtc/p2p/stunprober/main.cc b/webrtc/p2p/stunprober/main.cc |
index 9ef91e071b5b016bec0673251de820841bc653c8..9d0fff87322e90c132e93702579957d072c76871 100644 |
--- a/webrtc/p2p/stunprober/main.cc |
+++ b/webrtc/p2p/stunprober/main.cc |
@@ -14,13 +14,14 @@ |
#include <iostream> |
#include <map> |
+#include <memory> |
+ |
#include "webrtc/base/checks.h" |
#include "webrtc/base/flags.h" |
#include "webrtc/base/helpers.h" |
#include "webrtc/base/nethelpers.h" |
#include "webrtc/base/network.h" |
#include "webrtc/base/logging.h" |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/base/ssladapter.h" |
#include "webrtc/base/stringutils.h" |
#include "webrtc/base/thread.h" |
@@ -119,9 +120,9 @@ int main(int argc, char** argv) { |
rtc::InitializeSSL(); |
rtc::InitRandom(rtc::Time32()); |
rtc::Thread* thread = rtc::ThreadManager::Instance()->WrapCurrentThread(); |
- rtc::scoped_ptr<rtc::BasicPacketSocketFactory> socket_factory( |
+ std::unique_ptr<rtc::BasicPacketSocketFactory> socket_factory( |
new rtc::BasicPacketSocketFactory()); |
- rtc::scoped_ptr<rtc::BasicNetworkManager> network_manager( |
+ std::unique_ptr<rtc::BasicNetworkManager> network_manager( |
new rtc::BasicNetworkManager()); |
rtc::NetworkManager::NetworkList networks; |
network_manager->GetNetworks(&networks); |