Index: chromeos/dbus/bluetooth_profile_service_provider.cc |
diff --git a/chromeos/dbus/bluetooth_profile_service_provider.cc b/chromeos/dbus/bluetooth_profile_service_provider.cc |
index 1d9f2b5400242ce29ca83922e1681a8395ad00cc..960ddfb959cd59f7e131783f36b2f8a464234dfe 100644 |
--- a/chromeos/dbus/bluetooth_profile_service_provider.cc |
+++ b/chromeos/dbus/bluetooth_profile_service_provider.cc |
@@ -252,7 +252,7 @@ BluetoothProfileServiceProvider* BluetoothProfileServiceProvider::Create( |
dbus::Bus* bus, |
const dbus::ObjectPath& object_path, |
Delegate* delegate) { |
- if (!DBusThreadManager::IsUsingStub(DBusClientBundle::BLUETOOTH)) { |
+ if (!DBusThreadManager::Get()->IsUsingStub(DBusClientBundle::BLUETOOTH)) { |
return new BluetoothProfileServiceProviderImpl(bus, object_path, delegate); |
} else { |
return new FakeBluetoothProfileServiceProvider(object_path, delegate); |