Index: content/browser/renderer_host/media/audio_input_sync_writer_unittest.cc |
diff --git a/content/browser/renderer_host/media/audio_input_sync_writer_unittest.cc b/content/browser/renderer_host/media/audio_input_sync_writer_unittest.cc |
index 26b05ed5aac303fd9bb7a62bb97e6d7f739c3fb9..d958c2b5595bfa85309f88f334c4587b94e7b1dd 100644 |
--- a/content/browser/renderer_host/media/audio_input_sync_writer_unittest.cc |
+++ b/content/browser/renderer_host/media/audio_input_sync_writer_unittest.cc |
@@ -34,8 +34,8 @@ const int bits_per_sample = 16; |
// Faked ring buffer. Must be aligned. |
#define DATA_ALIGNMENT 16 |
-COMPILE_ASSERT(AudioBus::kChannelAlignment == DATA_ALIGNMENT, |
- Data_alignment_not_same_as_AudioBus); |
+static_assert(AudioBus::kChannelAlignment == DATA_ALIGNMENT, |
+ "Data alignment not same as AudioBus"); |
ALIGNAS(DATA_ALIGNMENT) uint8 data[kSegments * |
(sizeof(media::AudioInputBufferParameters) + frames * channels * |
sizeof(float))]; |