Index: media/filters/chunk_demuxer_unittest.cc |
diff --git a/media/filters/chunk_demuxer_unittest.cc b/media/filters/chunk_demuxer_unittest.cc |
index 71e2e786bf9fd1482f744a125110b9e65b76155c..ca19076404b96a235ddc3df2998f2eed05704a74 100644 |
--- a/media/filters/chunk_demuxer_unittest.cc |
+++ b/media/filters/chunk_demuxer_unittest.cc |
@@ -3151,9 +3151,10 @@ TEST_F(ChunkDemuxerTest, WebMIsParsingMediaSegmentDetection) { |
true, true, true, true, false, |
}; |
- COMPILE_ASSERT(arraysize(kBuffer) == arraysize(kExpectedReturnValues), |
- test_arrays_out_of_sync); |
- COMPILE_ASSERT(arraysize(kBuffer) == sizeof(kBuffer), not_one_byte_per_index); |
+ static_assert(arraysize(kBuffer) == arraysize(kExpectedReturnValues), |
+ "test arrays out of sync"); |
+ static_assert(arraysize(kBuffer) == sizeof(kBuffer), |
+ "there should be one byte per index"); |
ASSERT_TRUE(InitDemuxer(HAS_AUDIO | HAS_VIDEO)); |