Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Unified Diff: net/http/http_server_properties.cc

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_server_properties.cc
diff --git a/net/http/http_server_properties.cc b/net/http/http_server_properties.cc
index 514278cc2224253a0a2a8414c517e3bdae00b1b0..6b5f226cad0b185d3de64a58b61b024ad2456103 100644
--- a/net/http/http_server_properties.cc
+++ b/net/http/http_server_properties.cc
@@ -27,9 +27,9 @@ const char* const kAlternateProtocolStrings[] = {
"quic"
};
-COMPILE_ASSERT(
- arraysize(kAlternateProtocolStrings) == NUM_VALID_ALTERNATE_PROTOCOLS,
- kAlternateProtocolStringsSize_kNumValidAlternateProtocols_not_equal);
+static_assert(arraysize(kAlternateProtocolStrings) ==
+ NUM_VALID_ALTERNATE_PROTOCOLS,
+ "kAlternateProtocolStrings has incorrect size");
} // namespace

Powered by Google App Engine
This is Rietveld 408576698