| 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 9b1d07abee9cef0a478c351ffb0796a75d8b2e8d..3dcbe051f6ce86f1ec7efc9f3a9638c59215d64b 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));
|
|
|