Index: chrome/browser/extensions/api/bluetooth/bluetooth_api.cc |
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc b/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc |
index c983544b2bf73944862d081bf0809efc69eb54c8..2612595df1b1f07f715ec94c0c688fedd169cd87 100644 |
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc |
+++ b/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc |
@@ -43,11 +43,11 @@ extensions::ExtensionBluetoothEventRouter* GetEventRouter(Profile* profile) { |
return extensions::BluetoothAPI::Get(profile)->bluetooth_event_router(); |
} |
-const BluetoothAdapter* GetAdapter(Profile* profile) { |
+scoped_refptr<const BluetoothAdapter> GetAdapter(Profile* profile) { |
return GetEventRouter(profile)->adapter(); |
} |
-BluetoothAdapter* GetMutableAdapter(Profile* profile) { |
+scoped_refptr<BluetoothAdapter> GetMutableAdapter(Profile* profile) { |
return GetEventRouter(profile)->GetMutableAdapter(); |
} |