Index: media/base/key_systems_unittest.cc |
diff --git a/media/base/key_systems_unittest.cc b/media/base/key_systems_unittest.cc |
index e5c8eda339ba71351e54fa25b7b6e874c502215b..afd9dc06e25bdcb4ceb2ddb50446632316550542 100644 |
--- a/media/base/key_systems_unittest.cc |
+++ b/media/base/key_systems_unittest.cc |
@@ -61,8 +61,8 @@ enum TestCodec { |
TEST_CODEC_FOO_ALL = TEST_CODEC_FOO_AUDIO_ALL | TEST_CODEC_FOO_VIDEO_ALL |
}; |
-COMPILE_ASSERT((TEST_CODEC_FOO_ALL & EME_CODEC_ALL) == EME_CODEC_NONE, |
- test_codec_masks_should_only_use_invalid_codec_masks); |
+static_assert((TEST_CODEC_FOO_ALL & EME_CODEC_ALL) == EME_CODEC_NONE, |
+ "test codec masks should only use invalid codec masks"); |
// Adds test container and codec masks. |
// This function must be called after SetMediaClient() if a MediaClient will be |