Index: net/base/mime_sniffer.cc |
diff --git a/net/base/mime_sniffer.cc b/net/base/mime_sniffer.cc |
index 61ef948211059db1857f10df3cf5b9386a7eaaf3..ad4212dc2811af7567661052f2cef560fefe8c74 100644 |
--- a/net/base/mime_sniffer.cc |
+++ b/net/base/mime_sniffer.cc |
@@ -122,7 +122,8 @@ struct MagicNumber { |
template <int MagicSize, int MaskSize> |
class VerifySizes { |
- COMPILE_ASSERT(MagicSize == MaskSize, sizes_must_be_equal); |
+ static_assert(MagicSize == MaskSize, "sizes must be equal"); |
+ |
public: |
enum { SIZES = MagicSize }; |
}; |