diff options
author | rvargas <rvargas@chromium.org> | 2014-09-24 14:55:42 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-24 21:56:06 +0000 |
commit | 1bcc7dc66a2cce4ae46d1671eab8c7fa11edf0a8 (patch) | |
tree | 30286bf9ce956608ed226d5f92f33bb6f6b7e1e6 /net | |
parent | 290b8f66f7e256fd0b714195ff99f6a06c4fcb5a (diff) | |
download | chromium_src-1bcc7dc66a2cce4ae46d1671eab8c7fa11edf0a8.zip chromium_src-1bcc7dc66a2cce4ae46d1671eab8c7fa11edf0a8.tar.gz chromium_src-1bcc7dc66a2cce4ae46d1671eab8c7fa11edf0a8.tar.bz2 |
Remove implicit HANDLE conversions from net.
BUG=416722
R=rtenneti@chromium.org
Review URL: https://codereview.chromium.org/594973002
Cr-Commit-Position: refs/heads/master@{#296534}
Diffstat (limited to 'net')
-rw-r--r-- | net/base/net_util_win.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/base/net_util_win.cc b/net/base/net_util_win.cc index 4f59d6d..47e167b 100644 --- a/net/base/net_util_win.cc +++ b/net/base/net_util_win.cc @@ -216,7 +216,8 @@ WifiPHYLayerProtocol GetWifiPHYLayerProtocol() { return WIFI_PHY_LAYER_PROTOCOL_NONE; 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 WIFI_PHY_LAYER_PROTOCOL_NONE; scoped_ptr<WLAN_INTERFACE_INFO_LIST, internal::WlanApiDeleter> interface_list( @@ -239,8 +240,9 @@ WifiPHYLayerProtocol GetWifiPHYLayerProtocol() { DWORD conn_info_size = 0; WLAN_OPCODE_VALUE_TYPE op_code; result = wlanapi.query_interface_func( - client, &info->InterfaceGuid, wlan_intf_opcode_current_connection, NULL, - &conn_info_size, reinterpret_cast<VOID**>(&conn_info_ptr), &op_code); + client.Get(), &info->InterfaceGuid, wlan_intf_opcode_current_connection, + NULL, &conn_info_size, reinterpret_cast<VOID**>(&conn_info_ptr), + &op_code); if (result != ERROR_SUCCESS) return WIFI_PHY_LAYER_PROTOCOL_UNKNOWN; scoped_ptr<WLAN_CONNECTION_ATTRIBUTES, internal::WlanApiDeleter> conn_info( |