Index: chrome/common/extensions/permissions/bluetooth_device_permission.cc |
diff --git a/chrome/common/extensions/permissions/bluetooth_device_permission.cc b/chrome/common/extensions/permissions/bluetooth_device_permission.cc |
index 8c14494a2f58975eadf367ba70575b7b9f4cf55f..fccd9e576c82c035510276495b678b7378c4bae5 100644 |
--- a/chrome/common/extensions/permissions/bluetooth_device_permission.cc |
+++ b/chrome/common/extensions/permissions/bluetooth_device_permission.cc |
@@ -39,7 +39,7 @@ PermissionMessages BluetoothDevicePermission::GetMessages() const { |
PermissionMessages result; |
scoped_refptr<device::BluetoothAdapter> bluetooth_adapter = |
- device::BluetoothAdapterFactory::DefaultAdapter(); |
+ device::BluetoothAdapterFactory::GetAdapter(); |
for (std::set<BluetoothDevicePermissionData>::const_iterator i = |
data_set_.begin(); i != data_set_.end(); ++i) { |