Index: content/renderer/gpu/stream_texture_host_android.cc |
diff --git a/content/renderer/gpu/stream_texture_host_android.cc b/content/renderer/gpu/stream_texture_host_android.cc |
index b62903fd15fdb1b1b730d40fb84c3834a404f192..fe63557ca2bd806b8b68ca508e3fc03e96c43bca 100644 |
--- a/content/renderer/gpu/stream_texture_host_android.cc |
+++ b/content/renderer/gpu/stream_texture_host_android.cc |
@@ -60,8 +60,8 @@ void StreamTextureHost::OnFrameAvailable() { |
void StreamTextureHost::OnMatrixChanged( |
const GpuStreamTextureMsg_MatrixChanged_Params& params) { |
- COMPILE_ASSERT(sizeof(params) == sizeof(float) * 16, |
- bad_GpuStreamTextureMsg_MatrixChanged_Params_format); |
+ static_assert(sizeof(params) == sizeof(float) * 16, |
+ "bad GpuStreamTextureMsg MatrixChanged_Params format"); |
if (listener_) |
listener_->OnMatrixChanged((const float*)¶ms); |
} |