Index: ppapi/cpp/private/net_address_private.cc |
diff --git a/ppapi/cpp/private/net_address_private.cc b/ppapi/cpp/private/net_address_private.cc |
index 1973012408e3f2dcacf35c67bed9a9a38ead6d6e..01352ddc3eb7cc22e9a7668fe4a8162ff645adb9 100644 |
--- a/ppapi/cpp/private/net_address_private.cc |
+++ b/ppapi/cpp/private/net_address_private.cc |
@@ -8,7 +8,6 @@ |
#include "ppapi/cpp/module.h" |
#include "ppapi/cpp/module_impl.h" |
#include "ppapi/cpp/var.h" |
-#include "ppapi/c/private/ppb_net_address_private.h" |
namespace pp { |
@@ -82,9 +81,10 @@ void NetAddressPrivate::GetAnyAddress(bool is_ipv6, |
} |
// static |
-uint16_t NetAddressPrivate::GetFamily(const PP_NetAddress_Private& addr) { |
+PP_NetAddressFamily_Private NetAddressPrivate::GetFamily( |
+ const PP_NetAddress_Private& addr) { |
if (!has_interface<PPB_NetAddress_Private>()) |
- return 0; |
+ return PP_NETADDRESSFAMILY_UNSPECIFIED; |
return get_interface<PPB_NetAddress_Private>()->GetFamily(&addr); |
} |