Index: extensions/common/permissions/permission_message.h |
diff --git a/extensions/common/permissions/permission_message.h b/extensions/common/permissions/permission_message.h |
index fa65ab259e15cd326e9495964c4db6e7a08bea9a..04570bcbec92b10ac39efbf085b5acef34fd5f45 100644 |
--- a/extensions/common/permissions/permission_message.h |
+++ b/extensions/common/permissions/permission_message.h |
@@ -104,8 +104,8 @@ class PermissionMessage { |
// "ExtensionPermission2" enum in tools/metrics/histograms/histograms.xml. |
kEnumBoundary, |
}; |
- COMPILE_ASSERT(PermissionMessage::kNone > PermissionMessage::kUnknown, |
- kNone_not_greater_than_kUnknown); |
+ static_assert(PermissionMessage::kNone > PermissionMessage::kUnknown, |
+ "kNone should not greater than kUnknown"); |
// Creates the corresponding permission message. |
PermissionMessage(ID id, const base::string16& message); |