Index: device/bluetooth/bluetooth_device_mac.mm |
diff --git a/device/bluetooth/bluetooth_device_mac.mm b/device/bluetooth/bluetooth_device_mac.mm |
index 60db6f4425ae9e247ae357d09561efee92ac05a0..e8af48a0c9545a4bbc389f98c05d5af7688b9497 100644 |
--- a/device/bluetooth/bluetooth_device_mac.mm |
+++ b/device/bluetooth/bluetooth_device_mac.mm |
@@ -252,16 +252,7 @@ int BluetoothDeviceMac::GetHostTransmitPower( |
// static |
std::string BluetoothDeviceMac::GetDeviceAddress(IOBluetoothDevice* device) { |
- return NormalizeAddress(base::SysNSStringToUTF8([device addressString])); |
-} |
- |
-// static |
-std::string BluetoothDeviceMac::NormalizeAddress(const std::string& address) { |
- std::string normalized; |
- base::ReplaceChars(address, "-", ":", &normalized); |
- // TODO(isherman): Restore StringToUpperASCII(&normalized) call for M37. |
- // http://crbug.com/371014 |
- return normalized; |
+ return CanonicalizeAddress(base::SysNSStringToUTF8([device addressString])); |
} |
} // namespace device |