| Index: chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc
|
| diff --git a/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc b/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc
|
| index bbb907a809dcb5526f47d7c7ec09d34d3e52139a..3a358272955308a10677dac730c99f2bb4acd93a 100644
|
| --- a/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc
|
| +++ b/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/logging.h"
|
| #include "chrome/browser/ui/bluetooth/bluetooth_chooser_controller.h"
|
| +#include "content/browser/bluetooth/bluetooth_device_chooser_controller.h"
|
|
|
| BluetoothChooserDesktop::BluetoothChooserDesktop(
|
| BluetoothChooserController* bluetooth_chooser_controller)
|
| @@ -37,7 +38,9 @@ void BluetoothChooserDesktop::AddOrUpdateDevice(
|
| const int8_t* rssi) {
|
| bluetooth_chooser_controller_->AddOrUpdateDevice(
|
| device_id, should_update_name, device_name, is_gatt_connected, is_paired,
|
| - rssi);
|
| + rssi ? content::BluetoothDeviceChooserController::
|
| + CalculateSignalStrengthLevel(*rssi)
|
| + : -1);
|
| }
|
|
|
| void BluetoothChooserDesktop::RemoveDevice(const std::string& device_id) {
|
|
|