Index: chromeos/dbus/bluetooth_agent_service_provider.cc |
diff --git a/chromeos/dbus/bluetooth_agent_service_provider.cc b/chromeos/dbus/bluetooth_agent_service_provider.cc |
index 46117d180af9ad66076fd842fe82e5a4f468bcd7..8297dc1422ca4897c84ff9bbb3866d4b0ffe08e9 100644 |
--- a/chromeos/dbus/bluetooth_agent_service_provider.cc |
+++ b/chromeos/dbus/bluetooth_agent_service_provider.cc |
@@ -469,7 +469,7 @@ BluetoothAgentServiceProvider* BluetoothAgentServiceProvider::Create( |
dbus::Bus* bus, |
const dbus::ObjectPath& object_path, |
Delegate* delegate) { |
- if (!DBusThreadManager::IsUsingStub(DBusClientBundle::BLUETOOTH)) { |
+ if (!DBusThreadManager::Get()->IsUsingStub(DBusClientBundle::BLUETOOTH)) { |
return new BluetoothAgentServiceProviderImpl(bus, object_path, delegate); |
} else { |
return new FakeBluetoothAgentServiceProvider(object_path, delegate); |