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

Unified Diff: device/bluetooth/bluetooth_task_manager_win.cc

Issue 92173002: Merge 237541 "Revert of https://codereview.chromium.org/71013004/" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1721/src/
Patch Set: Created 7 years, 1 month 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 | « content/common/sandbox_win.cc ('k') | net/base/net_util_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_task_manager_win.cc
===================================================================
--- device/bluetooth/bluetooth_task_manager_win.cc (revision 237598)
+++ device/bluetooth/bluetooth_task_manager_win.cc (working copy)
@@ -211,12 +211,10 @@
{ sizeof(BLUETOOTH_FIND_RADIO_PARAMS) };
if (adapter_handle_)
adapter_handle_.Close();
- HANDLE temp_adapter_handle;
HBLUETOOTH_RADIO_FIND handle = BluetoothFindFirstRadio(
- &adapter_param, &temp_adapter_handle);
+ &adapter_param, adapter_handle_.Receive());
if (handle) {
- adapter_handle_.Set(temp_adapter_handle);
GetKnownDevices();
BluetoothFindRadioClose(handle);
}
« no previous file with comments | « content/common/sandbox_win.cc ('k') | net/base/net_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698