Index: sandbox/win/src/crosscall_params.h |
diff --git a/sandbox/win/src/crosscall_params.h b/sandbox/win/src/crosscall_params.h |
index 4a71f695959988d7b1b40b773fe7348f53f63cab..6facb202da42f808649cf87e0ee07d21e3556337 100644 |
--- a/sandbox/win/src/crosscall_params.h |
+++ b/sandbox/win/src/crosscall_params.h |
@@ -287,9 +287,9 @@ class ActualCallParams : public CrossCallParams { |
DISALLOW_COPY_AND_ASSIGN(ActualCallParams); |
}; |
-COMPILE_ASSERT(sizeof(ActualCallParams<1, 1024>) == 1024, bad_size_buffer); |
-COMPILE_ASSERT(sizeof(ActualCallParams<2, 1024>) == 1024, bad_size_buffer); |
-COMPILE_ASSERT(sizeof(ActualCallParams<3, 1024>) == 1024, bad_size_buffer); |
+static_assert(sizeof(ActualCallParams<1, 1024>) == 1024, "bad size buffer"); |
+static_assert(sizeof(ActualCallParams<2, 1024>) == 1024, "bad size buffer"); |
+static_assert(sizeof(ActualCallParams<3, 1024>) == 1024, "bad size buffer"); |
} // namespace sandbox |