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

Unified Diff: chromeos/dbus/bluetooth_device_client.cc

Issue 556833003: Fix minor issues about DBusThreadManager. (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
Index: chromeos/dbus/bluetooth_device_client.cc
diff --git a/chromeos/dbus/bluetooth_device_client.cc b/chromeos/dbus/bluetooth_device_client.cc
index b505401d2f3b91efb7120672fa74cfbd444a64ab..00e10d39c3ca2e11bd6c352fb515330c9fec71d1 100644
--- a/chromeos/dbus/bluetooth_device_client.cc
+++ b/chromeos/dbus/bluetooth_device_client.cc
@@ -56,7 +56,8 @@ class BluetoothDeviceClientImpl
: public BluetoothDeviceClient,
public dbus::ObjectManager::Interface {
public:
- BluetoothDeviceClientImpl() : weak_ptr_factory_(this) {}
+ BluetoothDeviceClientImpl()
+ : object_manager_(NULL), weak_ptr_factory_(this) {}
virtual ~BluetoothDeviceClientImpl() {
object_manager_->UnregisterInterface(

Powered by Google App Engine
This is Rietveld 408576698