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..a491c88b49387b2de66236f2a51bb5978d31a248 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_ADDRESSFAMILY_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_ADDRESSFAMILY_IPV6); |
PASS(); |
} |