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

Unified Diff: device/bluetooth/bluetooth_adapter_win.cc

Issue 13416005: Bluetooth: clean up BluetoothDevice (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make GetServices return a copy of the list Created 7 years, 9 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
Index: device/bluetooth/bluetooth_adapter_win.cc
diff --git a/device/bluetooth/bluetooth_adapter_win.cc b/device/bluetooth/bluetooth_adapter_win.cc
index 28d3dcc51bb6e3e11194f017fe7bb48bbfb4cb31..675b66c68c48aa25f38c8bc803eda348ff38badc 100644
--- a/device/bluetooth/bluetooth_adapter_win.cc
+++ b/device/bluetooth/bluetooth_adapter_win.cc
@@ -216,7 +216,6 @@ void BluetoothAdapterWin::DevicesDiscovered(
if (device_iter->second->IsConnected() || device_iter->second->IsPaired()) {
BluetoothDeviceWin* device_win =
static_cast<BluetoothDeviceWin*>(device_iter->second);
- device_win->SetVisible(false);
FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_,
DeviceChanged(this, device_win));
++device_iter;

Powered by Google App Engine
This is Rietveld 408576698