Index: chrome/browser/external_extension_browsertest.cc |
diff --git a/chrome/browser/external_extension_browsertest.cc b/chrome/browser/external_extension_browsertest.cc |
index dcde9d38256d77e70cc84bf479c68438e0f02b8f..6f3dd7713eda636ec93b2a7ce5628e2656354689 100644 |
--- a/chrome/browser/external_extension_browsertest.cc |
+++ b/chrome/browser/external_extension_browsertest.cc |
@@ -106,8 +106,8 @@ IN_PROC_BROWSER_TEST_F(SearchProviderTest, |
const char* expected_results[] = { "2", |
"1", |
"0" }; |
- COMPILE_ASSERT(arraysize(test_hosts) == arraysize(expected_results), |
- there_should_be_a_result_for_each_host); |
+ static_assert(arraysize(test_hosts) == arraysize(expected_results), |
+ "each host should have a test result"); |
IsSearchProviderTestData test_data[2 * arraysize(test_hosts)]; |
// Start results for the normal mode. |