| 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 8905b419cd63755cb63611093838b451ac36fd72..12b61540c2736abfd653e4f024d4959479777ebc 100644
|
| --- a/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
|
| +++ b/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
|
| @@ -172,7 +172,7 @@ void BluetoothStartDiscoveryFunction::OnErrorCallback() {
|
| bool BluetoothStartDiscoveryFunction::DoWork(
|
| scoped_refptr<BluetoothAdapter> adapter) {
|
| GetEventRouter(browser_context())->StartDiscoverySession(
|
| - adapter,
|
| + adapter.get(),
|
| extension_id(),
|
| base::Bind(&BluetoothStartDiscoveryFunction::OnSuccessCallback, this),
|
| base::Bind(&BluetoothStartDiscoveryFunction::OnErrorCallback, this));
|
| @@ -192,7 +192,7 @@ void BluetoothStopDiscoveryFunction::OnErrorCallback() {
|
| bool BluetoothStopDiscoveryFunction::DoWork(
|
| scoped_refptr<BluetoothAdapter> adapter) {
|
| GetEventRouter(browser_context())->StopDiscoverySession(
|
| - adapter,
|
| + adapter.get(),
|
| extension_id(),
|
| base::Bind(&BluetoothStopDiscoveryFunction::OnSuccessCallback, this),
|
| base::Bind(&BluetoothStopDiscoveryFunction::OnErrorCallback, this));
|
|
|