Index: content/renderer/media/webrtc/stun_field_trial.cc |
diff --git a/content/renderer/media/webrtc/stun_field_trial.cc b/content/renderer/media/webrtc/stun_field_trial.cc |
index 9a2b8b0600f2a49f33c965a82ff0fc54066690ac..68e8fa1eea6e6f2bef79d908d8fb5bf5a6476c34 100644 |
--- a/content/renderer/media/webrtc/stun_field_trial.cc |
+++ b/content/renderer/media/webrtc/stun_field_trial.cc |
@@ -41,7 +41,8 @@ enum NatType { |
// This needs to match "NatType" in histograms.xml. |
const char* NatTypeNames[] = {"NoNAT", "UnknownNAT", "SymNAT", "NonSymNAT"}; |
-COMPILE_ASSERT(arraysize(NatTypeNames) == NAT_TYPE_MAX, NamesArraySizeNotMatch); |
+static_assert(arraysize(NatTypeNames) == NAT_TYPE_MAX, |
+ "NatType enums must match names"); |
NatType GetNatType(stunprober::NatType nat_type) { |
switch (nat_type) { |