| Index: net/base/net_util_unittest.cc
|
| diff --git a/net/base/net_util_unittest.cc b/net/base/net_util_unittest.cc
|
| index 3bb518fd08312959e560c806c90f1f5e6eeaf2ae..78fde8b9ec0a17db558df8d0176d1e941244ca17 100644
|
| --- a/net/base/net_util_unittest.cc
|
| +++ b/net/base/net_util_unittest.cc
|
| @@ -821,7 +821,8 @@ int GetWifiOptions() {
|
| return -1;
|
|
|
| WLAN_INTERFACE_INFO_LIST* interface_list_ptr = NULL;
|
| - result = wlanapi.enum_interfaces_func(client, NULL, &interface_list_ptr);
|
| + result = wlanapi.enum_interfaces_func(client.Get(), NULL,
|
| + &interface_list_ptr);
|
| if (result != ERROR_SUCCESS)
|
| return -1;
|
| scoped_ptr<WLAN_INTERFACE_INFO_LIST, internal::WlanApiDeleter> interface_list(
|
| @@ -833,7 +834,7 @@ int GetWifiOptions() {
|
| PVOID data;
|
| int options = 0;
|
| result = wlanapi.query_interface_func(
|
| - client,
|
| + client.Get(),
|
| &info->InterfaceGuid,
|
| wlan_intf_opcode_background_scan_enabled,
|
| NULL,
|
| @@ -848,7 +849,7 @@ int GetWifiOptions() {
|
| internal::WlanApi::GetInstance().free_memory_func(data);
|
|
|
| result = wlanapi.query_interface_func(
|
| - client,
|
| + client.Get(),
|
| &info->InterfaceGuid,
|
| wlan_intf_opcode_media_streaming_mode,
|
| NULL,
|
|
|