Index: ppapi/tests/test_net_address_private.cc |
diff --git a/ppapi/tests/test_net_address_private.cc b/ppapi/tests/test_net_address_private.cc |
index ecb9bc95d08e4e9aabeee9e3d42719aa70c1830b..bdb14d66234c00edc2a87c19f8282e0e96703029 100644 |
--- a/ppapi/tests/test_net_address_private.cc |
+++ b/ppapi/tests/test_net_address_private.cc |
@@ -252,13 +252,13 @@ std::string TestNetAddressPrivate::TestDescribeIPv6() { |
std::string TestNetAddressPrivate::TestGetFamily() { |
PP_NetAddress_Private ipv4 = MakeIPv4NetAddress("127.0.0.1", 80); |
- ASSERT_EQ(NetAddressPrivate::GetFamily(ipv4), AF_INET); |
+ ASSERT_EQ(NetAddressPrivate::GetFamily(ipv4), PP_NETADDRESSFAMILY_IPV4); |
uint16_t ipv6_address[8] = { 0x1234, 0xabcd, 0, 0, 0xff, 0, 0, 0xcdef }; |
PP_NetAddress_Private ipv6 = MakeIPv6NetAddress(ipv6_address, |
123, |
0); |
- ASSERT_EQ(NetAddressPrivate::GetFamily(ipv6), AF_INET6); |
+ ASSERT_EQ(NetAddressPrivate::GetFamily(ipv6), PP_NETADDRESSFAMILY_IPV6); |
PASS(); |
} |