| Index: media/cast/receiver/audio_decoder.cc
|
| diff --git a/media/cast/receiver/audio_decoder.cc b/media/cast/receiver/audio_decoder.cc
|
| index 5f4720e8fc5298797bdca3bb978bf8c334ee599d..53ac3f0cefc1a44c77ca3f78835043e8ed983e79 100644
|
| --- a/media/cast/receiver/audio_decoder.cc
|
| +++ b/media/cast/receiver/audio_decoder.cc
|
| @@ -43,8 +43,8 @@ class AudioDecoder::ImplBase
|
| const DecodeFrameCallback& callback) {
|
| DCHECK_EQ(cast_initialization_status_, STATUS_AUDIO_INITIALIZED);
|
|
|
| - COMPILE_ASSERT(sizeof(encoded_frame->frame_id) == sizeof(last_frame_id_),
|
| - size_of_frame_id_types_do_not_match);
|
| + static_assert(sizeof(encoded_frame->frame_id) == sizeof(last_frame_id_),
|
| + "size of frame_id types do not match");
|
| bool is_continuous = true;
|
| if (seen_first_frame_) {
|
| const uint32 frames_ahead = encoded_frame->frame_id - last_frame_id_;
|
|
|