Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(757)

Unified Diff: net/base/net_util_unittest.cc

Issue 605513005: Remove implicit HANDLE conversions from net (new ones). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/base/net_util_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | net/base/net_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698