Index: webrtc/p2p/base/stunport.h |
diff --git a/webrtc/p2p/base/stunport.h b/webrtc/p2p/base/stunport.h |
index 2967c15d959f33bb9ea01fdd759ebaa541c61a8a..488739c93640fb566bf3e00b84e400113576ab4f 100644 |
--- a/webrtc/p2p/base/stunport.h |
+++ b/webrtc/p2p/base/stunport.h |
@@ -50,8 +50,8 @@ class UDPPort : public Port { |
rtc::PacketSocketFactory* factory, |
rtc::Network* network, |
const rtc::IPAddress& ip, |
- uint16 min_port, |
- uint16 max_port, |
+ uint16_t min_port, |
+ uint16_t max_port, |
const std::string& username, |
const std::string& password, |
const std::string& origin, |
@@ -110,8 +110,8 @@ class UDPPort : public Port { |
rtc::PacketSocketFactory* factory, |
rtc::Network* network, |
const rtc::IPAddress& ip, |
- uint16 min_port, |
- uint16 max_port, |
+ uint16_t min_port, |
+ uint16_t max_port, |
const std::string& username, |
const std::string& password, |
const std::string& origin, |
@@ -220,7 +220,8 @@ class StunPort : public UDPPort { |
rtc::PacketSocketFactory* factory, |
rtc::Network* network, |
const rtc::IPAddress& ip, |
- uint16 min_port, uint16 max_port, |
+ uint16_t min_port, |
+ uint16_t max_port, |
const std::string& username, |
const std::string& password, |
const ServerAddresses& servers, |
@@ -247,14 +248,22 @@ class StunPort : public UDPPort { |
rtc::PacketSocketFactory* factory, |
rtc::Network* network, |
const rtc::IPAddress& ip, |
- uint16 min_port, |
- uint16 max_port, |
+ uint16_t min_port, |
+ uint16_t max_port, |
const std::string& username, |
const std::string& password, |
const ServerAddresses& servers, |
const std::string& origin) |
- : UDPPort(thread, factory, network, ip, min_port, max_port, username, |
- password, origin, false) { |
+ : UDPPort(thread, |
+ factory, |
+ network, |
+ ip, |
+ min_port, |
+ max_port, |
+ username, |
+ password, |
+ origin, |
+ false) { |
// UDPPort will set these to local udp, updating these to STUN. |
set_type(STUN_PORT_TYPE); |
set_server_addresses(servers); |