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

Unified Diff: components/arc/bluetooth/arc_bluetooth_bridge.cc

Issue 2172063002: arc: bluetooth: Don't unset bluetooth_adapter_ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/bluetooth/arc_bluetooth_bridge.cc
diff --git a/components/arc/bluetooth/arc_bluetooth_bridge.cc b/components/arc/bluetooth/arc_bluetooth_bridge.cc
index 5042636b7465a062c41a05f768b4253c6e6f05a4..cd0c770f0e88108a60c3f1128cbf7e968f0edeb3 100644
--- a/components/arc/bluetooth/arc_bluetooth_bridge.cc
+++ b/components/arc/bluetooth/arc_bluetooth_bridge.cc
@@ -107,7 +107,6 @@ void ArcBluetoothBridge::AdapterPresentChanged(BluetoothAdapter* adapter,
// If the adapter goes away, remove ourselves as an observer.
if (!present && adapter == bluetooth_adapter_) {
adapter->RemoveObserver(this);
- bluetooth_adapter_ = nullptr;
Luis Héctor Chávez 2016/07/22 01:53:24 is it guaranteed that the adapter (reference) will
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698