Index: components/browser_watcher/exit_code_watcher_win_unittest.cc |
diff --git a/components/browser_watcher/exit_code_watcher_win_unittest.cc b/components/browser_watcher/exit_code_watcher_win_unittest.cc |
index 10ba2fd4128476359098619c721673bcf740ae28..118cf770a3d3b7190b0b8f807aafaef1ddb71a80 100644 |
--- a/components/browser_watcher/exit_code_watcher_win_unittest.cc |
+++ b/components/browser_watcher/exit_code_watcher_win_unittest.cc |
@@ -98,8 +98,10 @@ class ExitCodeWatcherTest : public testing::Test { |
KEY_QUERY_VALUE); |
// The value name should encode the process id at the start. |
- EXPECT_TRUE(base::StartsWith(it.Name(), base::StringPrintf(L"%d-", proc_id), |
- false)); |
+ EXPECT_TRUE(base::StartsWith( |
+ it.Name(), |
+ base::StringPrintf(L"%d-", proc_id), |
+ base::CompareCase::SENSITIVE)); |
DWORD value = 0; |
ASSERT_EQ(ERROR_SUCCESS, key.ReadValueDW(it.Name(), &value)); |
ASSERT_EQ(exit_code, value); |