Index: chrome/browser/extensions/api/web_request/web_request_api_unittest.cc |
diff --git a/chrome/browser/extensions/api/web_request/web_request_api_unittest.cc b/chrome/browser/extensions/api/web_request/web_request_api_unittest.cc |
index 046b6728be20e64fc73cf0d7270c9a2a80576d3c..f7f463bce1671220f042ebace30cfb2439ac07ea 100644 |
--- a/chrome/browser/extensions/api/web_request/web_request_api_unittest.cc |
+++ b/chrome/browser/extensions/api/web_request/web_request_api_unittest.cc |
@@ -603,8 +603,9 @@ TEST_F(ExtensionWebRequestTest, AccessRequestBodyData) { |
&raw, |
&raw, |
}; |
- COMPILE_ASSERT(arraysize(kPath) == arraysize(kExpected), |
- the_arrays_kPath_and_kExpected_need_to_be_the_same_size); |
+ static_assert(arraysize(kPath) == arraysize(kExpected), |
+ "kPath and kExpected arrays should have the same number " |
+ "of elements"); |
// Header. |
const char kMultipart[] = "multipart/form-data; boundary=" kBoundary; |
#undef kBoundary |