Index: device/bluetooth/bluetooth_uuid_unittest.cc |
diff --git a/device/bluetooth/bluetooth_uuid_unittest.cc b/device/bluetooth/bluetooth_uuid_unittest.cc |
index c59ab1c934e4a96abfca74cadb38c8fcb42940dc..380d151b126acee11155e551c8bd90036360a6e7 100644 |
--- a/device/bluetooth/bluetooth_uuid_unittest.cc |
+++ b/device/bluetooth/bluetooth_uuid_unittest.cc |
@@ -95,7 +95,7 @@ TEST(BluetoothUUIDTest, BluetoothUUID_CaseInsensitive) { |
{ "00001aBc-0000-1000-8000-00805F9b34fB", k128Bit }, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); ++i) { |
+ for (size_t i = 0; i < arraysize(test_cases); ++i) { |
SCOPED_TRACE("Input UUID: " + test_cases[i].input_uuid); |
BluetoothUUID uuid(test_cases[i].input_uuid); |
EXPECT_TRUE(uuid.IsValid()); |