| Index: jingle/notifier/base/chrome_async_socket_unittest.cc
|
| diff --git a/jingle/notifier/base/chrome_async_socket_unittest.cc b/jingle/notifier/base/chrome_async_socket_unittest.cc
|
| index 08dbf301a463065b7bab4bf9f923994f2c5528a6..a64e03f3268bb15bada44c0c1ac4caadb84a5214 100644
|
| --- a/jingle/notifier/base/chrome_async_socket_unittest.cc
|
| +++ b/jingle/notifier/base/chrome_async_socket_unittest.cc
|
| @@ -101,7 +101,7 @@ class AsyncSocketDataProvider : public net::SocketDataProvider {
|
| // Takes a 32-bit integer in host byte order and converts it to a
|
| // net::IPAddressNumber.
|
| net::IPAddressNumber Uint32ToIPAddressNumber(uint32 ip) {
|
| - uint32 ip_nbo = htonl(ip);
|
| + uint32 ip_nbo = base::HostToNet32(ip);
|
| const unsigned char* const ip_start =
|
| reinterpret_cast<const unsigned char*>(&ip_nbo);
|
| return net::IPAddressNumber(ip_start, ip_start + (sizeof ip_nbo));
|
|
|