Index: media/filters/h264_bitstream_buffer.h |
diff --git a/media/filters/h264_bitstream_buffer.h b/media/filters/h264_bitstream_buffer.h |
index 4b0511d9bcdd493203259cefc7c219e1066ece2a..cbe2047452b7109a27226e21331cad1fb8594b44 100644 |
--- a/media/filters/h264_bitstream_buffer.h |
+++ b/media/filters/h264_bitstream_buffer.h |
@@ -94,8 +94,8 @@ class MEDIA_EXPORT H264BitstreamBuffer { |
kGrowBytes = 4096, |
}; |
- COMPILE_ASSERT(kGrowBytes >= kRegByteSize, |
- kGrowBytes_must_be_larger_than_kRegByteSize); |
+ static_assert(kGrowBytes >= kRegByteSize, |
+ "kGrowBytes must be larger than kRegByteSize"); |
// Unused bits left in reg_. |
size_t bits_left_in_reg_; |