| Index: components/proximity_auth/bluetooth_util_chromeos.cc
|
| diff --git a/components/proximity_auth/bluetooth_util_chromeos.cc b/components/proximity_auth/bluetooth_util_chromeos.cc
|
| index 86a0758fc913580f2287e14bcca444c9a842cb59..ec9396bc307d6a1b25c3e505f11b88b2b49bcd51 100644
|
| --- a/components/proximity_auth/bluetooth_util_chromeos.cc
|
| +++ b/components/proximity_auth/bluetooth_util_chromeos.cc
|
| @@ -73,8 +73,8 @@ bool BluetoothAddressToBdaddr(const std::string& address, bdaddr_t* result) {
|
| if (canonical_address.empty())
|
| return false;
|
|
|
| - std::vector<std::string> octets;
|
| - base::SplitString(canonical_address, ':', &octets);
|
| + std::vector<base::StringPiece> octets = base::SplitStringPiece(
|
| + canonical_address, ":", base::KEEP_WHITESPACE, base::SPLIT_WANT_ALL);
|
| DCHECK_EQ(octets.size(), 6U);
|
|
|
| // BlueZ expects the octets in the reverse order.
|
|
|