Index: media/base/video_frame.cc |
diff --git a/media/base/video_frame.cc b/media/base/video_frame.cc |
index 307f7505b6031de788cf0f7c2b724aa3aa867734..acdc5a2475bbe8695d78fcfe745b40f24b93dd2a 100644 |
--- a/media/base/video_frame.cc |
+++ b/media/base/video_frame.cc |
@@ -592,7 +592,7 @@ static void ReleaseData(uint8* data) { |
void VideoFrame::AllocateYUV() { |
DCHECK(format_ == YV12 || format_ == YV16 || format_ == YV12A || |
format_ == I420 || format_ == YV12J || format_ == YV24); |
- COMPILE_ASSERT(0 == kYPlane, y_plane_data_must_be_index_0); |
+ static_assert(0 == kYPlane, "y plane data must be index 0"); |
size_t data_size = 0; |
size_t offset[kMaxPlanes]; |