| 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 5176c684203092ba11100a1de010fd4a65b8b97a..f6b3b2caee158ba96544c01e141375a7bb8e2b78 100644
 | 
| --- a/extensions/browser/api/bluetooth/bluetooth_api_utils.cc
 | 
| +++ b/extensions/browser/api/bluetooth/bluetooth_api_utils.cc
 | 
| @@ -122,13 +122,13 @@ void BluetoothDeviceToApiDevice(const device::BluetoothDevice& device,
 | 
|      string_uuids->push_back(iter->canonical_value());
 | 
|    out->uuids.reset(string_uuids);
 | 
|  
 | 
| -  if (device.GetInquiryRSSI() != device::BluetoothDevice::kUnknownPower)
 | 
| -    out->inquiry_rssi.reset(new int(device.GetInquiryRSSI()));
 | 
| +  if (device.GetInquiryRSSI())
 | 
| +    out->inquiry_rssi.reset(new int(device.GetInquiryRSSI().value()));
 | 
|    else
 | 
|      out->inquiry_rssi.reset();
 | 
|  
 | 
| -  if (device.GetInquiryTxPower() != device::BluetoothDevice::kUnknownPower)
 | 
| -    out->inquiry_tx_power.reset(new int(device.GetInquiryTxPower()));
 | 
| +  if (device.GetInquiryTxPower())
 | 
| +    out->inquiry_tx_power.reset(new int(device.GetInquiryTxPower().value()));
 | 
|    else
 | 
|      out->inquiry_tx_power.reset();
 | 
|  }
 | 
| 
 |