Index: webrtc/p2p/base/port.h |
diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h |
index 2961355e3e1cf839689eeb72ad143c7f3c7960cb..7ec33bcd0b18169f22998026ee4bd19d37be8830 100644 |
--- a/webrtc/p2p/base/port.h |
+++ b/webrtc/p2p/base/port.h |
@@ -12,6 +12,7 @@ |
#define WEBRTC_P2P_BASE_PORT_H_ |
#include <map> |
+#include <memory> |
#include <set> |
#include <string> |
#include <vector> |
@@ -336,7 +337,7 @@ class Port : public PortInterface, public rtc::MessageHandler, |
bool GetStunMessage(const char* data, |
size_t size, |
const rtc::SocketAddress& addr, |
- rtc::scoped_ptr<IceMessage>* out_msg, |
+ std::unique_ptr<IceMessage>* out_msg, |
std::string* out_username); |
// Checks if the address in addr is compatible with the port's ip. |