Index: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc |
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc |
index 9159c5c2daf43ec588341d2ee1ff707e2c721848..3651cf5887392e9e7b4d7707963fdb5666ceda04 100644 |
--- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc |
+++ b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc |
@@ -149,7 +149,7 @@ void PopulateDevice(const device::BluetoothDevice* device, |
return; |
request->device.address = device->GetAddress(); |
request->device.name.reset( |
- new std::string(base::UTF16ToUTF8(device->GetName()))); |
+ new std::string(base::UTF16ToUTF8(device->GetNameForDisplay()))); |
request->device.device_class.reset(new int(device->GetBluetoothClass())); |
} |