| Index: extensions/browser/api/bluetooth/bluetooth_api_utils.cc
|
| diff --git a/extensions/browser/api/bluetooth/bluetooth_api_utils.cc b/extensions/browser/api/bluetooth/bluetooth_api_utils.cc
|
| index 1b0c61e64e886010ca239c5f866160f168b9f775..d4a288c8d64b218f7f34d1042d07c9946fa59625 100644
|
| --- a/extensions/browser/api/bluetooth/bluetooth_api_utils.cc
|
| +++ b/extensions/browser/api/bluetooth/bluetooth_api_utils.cc
|
| @@ -121,12 +121,12 @@ void BluetoothDeviceToApiDevice(const device::BluetoothDevice& device,
|
| string_uuids->push_back(iter->canonical_value());
|
| out->uuids.reset(string_uuids);
|
|
|
| - if (device.GetInquiryRSSI() != device::BluetoothDevice::kUnknownPower)
|
| + if (device.GetInquiryRSSI() != device::BluetoothDevice::kUnknownRSSI)
|
| out->inquiry_rssi.reset(new int(device.GetInquiryRSSI()));
|
| else
|
| out->inquiry_rssi.reset();
|
|
|
| - if (device.GetInquiryTxPower() != device::BluetoothDevice::kUnknownPower)
|
| + if (device.GetInquiryTxPower() != device::BluetoothDevice::kUnknownTxPower)
|
| out->inquiry_tx_power.reset(new int(device.GetInquiryTxPower()));
|
| else
|
| out->inquiry_tx_power.reset();
|
|
|