Index: base/win/win_util.cc |
diff --git a/base/win/win_util.cc b/base/win/win_util.cc |
index cf93444b6e2a6041df404dac963c98ac45affa75..e33e70b5f2ebb876995889e62981cfc636747969 100644 |
--- a/base/win/win_util.cc |
+++ b/base/win/win_util.cc |
@@ -149,8 +149,8 @@ bool IsKeyboardPresentOnSlate() { |
if (status == CR_SUCCESS) { |
// To reduce the scope of the hack we only look for ACPI and HID\\VID |
// prefixes in the keyboard device ids. |
- if (StartsWith(device_id, L"ACPI", false) || |
- StartsWith(device_id, L"HID\\VID", false)) { |
+ if (StartsWith(device_id, L"ACPI", CompareCase::INSENSITIVE_ASCII) || |
+ StartsWith(device_id, L"HID\\VID", CompareCase::INSENSITIVE_ASCII)) { |
keyboard_count++; |
} |
} |