| Index: ppapi/thunk/ppb_net_address_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_net_address_thunk.cc b/ppapi/thunk/ppb_net_address_thunk.cc
|
| index f8916fe9716c86adaa56b4a425b3bac33ae46e4f..6ddf8c3cccbe502ec35585105799e84a6579e221 100644
|
| --- a/ppapi/thunk/ppb_net_address_thunk.cc
|
| +++ b/ppapi/thunk/ppb_net_address_thunk.cc
|
| @@ -16,9 +16,8 @@ namespace thunk {
|
|
|
| namespace {
|
|
|
| -PP_Resource CreateFromIPv4Address(
|
| - PP_Instance instance,
|
| - const struct PP_NetAddress_IPv4* ipv4_addr) {
|
| +PP_Resource CreateFromIPv4Address(PP_Instance instance,
|
| + const struct PP_NetAddress_IPv4* ipv4_addr) {
|
| VLOG(4) << "PPB_NetAddress::CreateFromIPv4Address()";
|
| EnterResourceCreation enter(instance);
|
| if (enter.failed())
|
| @@ -27,9 +26,8 @@ PP_Resource CreateFromIPv4Address(
|
| ipv4_addr);
|
| }
|
|
|
| -PP_Resource CreateFromIPv6Address(
|
| - PP_Instance instance,
|
| - const struct PP_NetAddress_IPv6* ipv6_addr) {
|
| +PP_Resource CreateFromIPv6Address(PP_Instance instance,
|
| + const struct PP_NetAddress_IPv6* ipv6_addr) {
|
| VLOG(4) << "PPB_NetAddress::CreateFromIPv6Address()";
|
| EnterResourceCreation enter(instance);
|
| if (enter.failed())
|
| @@ -79,14 +77,9 @@ PP_Bool DescribeAsIPv6Address(PP_Resource addr,
|
| }
|
|
|
| const PPB_NetAddress_1_0 g_ppb_netaddress_thunk_1_0 = {
|
| - &CreateFromIPv4Address,
|
| - &CreateFromIPv6Address,
|
| - &IsNetAddress,
|
| - &GetFamily,
|
| - &DescribeAsString,
|
| - &DescribeAsIPv4Address,
|
| - &DescribeAsIPv6Address
|
| -};
|
| + &CreateFromIPv4Address, &CreateFromIPv6Address, &IsNetAddress,
|
| + &GetFamily, &DescribeAsString, &DescribeAsIPv4Address,
|
| + &DescribeAsIPv6Address};
|
|
|
| } // namespace
|
|
|
|
|