Index: device/bluetooth/bluetooth_device_unittest.cc |
diff --git a/device/bluetooth/bluetooth_device_unittest.cc b/device/bluetooth/bluetooth_device_unittest.cc |
index 6ac2f63c374bf7c53a2d67bc8d1cc31b4790d750..5c8cd21d561f49ec2df6c7ad581ecafba02c4738 100644 |
--- a/device/bluetooth/bluetooth_device_unittest.cc |
+++ b/device/bluetooth/bluetooth_device_unittest.cc |
@@ -91,7 +91,7 @@ TEST_F(BluetoothTest, LowEnergyDeviceProperties) { |
EXPECT_EQ(0, device->GetVendorID()); |
EXPECT_EQ(0, device->GetProductID()); |
EXPECT_EQ(0, device->GetDeviceID()); |
- EXPECT_EQ(base::UTF8ToUTF16(kTestDeviceName), device->GetName()); |
+ EXPECT_EQ(base::UTF8ToUTF16(kTestDeviceName), device->GetNameForDisplay()); |
EXPECT_FALSE(device->IsPaired()); |
BluetoothDevice::UUIDList uuids = device->GetUUIDs(); |
EXPECT_TRUE(ContainsValue(uuids, BluetoothUUID(kTestUUIDGenericAccess))); |