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

Unified Diff: chromeos/dbus/bluetooth_adapter_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_adapter_client.cc
diff --git a/chromeos/dbus/bluetooth_adapter_client.cc b/chromeos/dbus/bluetooth_adapter_client.cc
index afc379b93a64844c6fe3cd2af82facd69ce6d130..3d8d21380813f3ec247f4f6cfd2e10b14a616992 100644
--- a/chromeos/dbus/bluetooth_adapter_client.cc
+++ b/chromeos/dbus/bluetooth_adapter_client.cc
@@ -50,7 +50,8 @@ class BluetoothAdapterClientImpl
: public BluetoothAdapterClient,
public dbus::ObjectManager::Interface {
public:
- BluetoothAdapterClientImpl() : weak_ptr_factory_(this) {}
+ BluetoothAdapterClientImpl()
+ : object_manager_(NULL), weak_ptr_factory_(this) {}
satorux1 2014/09/10 05:25:33 good catch! thank you for fixing.
pneubeck (no reviews) 2014/09/10 07:58:13 Acknowledged.
virtual ~BluetoothAdapterClientImpl() {
object_manager_->UnregisterInterface(
« no previous file with comments | « no previous file | chromeos/dbus/bluetooth_agent_service_provider.cc » ('j') | chromeos/dbus/dbus_client_bundle.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698