Index: util/mach/mach_message_server_test.cc |
diff --git a/util/mach/mach_message_server_test.cc b/util/mach/mach_message_server_test.cc |
index cb97e5ba8dbb2e45c97362372708c227a4b3626b..3d0d8bd76903e74177a03e0f0cc7a00b76c3384e 100644 |
--- a/util/mach/mach_message_server_test.cc |
+++ b/util/mach/mach_message_server_test.cc |
@@ -696,8 +696,8 @@ TEST(MachMessageServer, PersistentNonblockingFourMessages) { |
// child_wait_for_parent_pipe_early is used to make the child wait until the |
// parent is ready. |
const size_t kTransactionCount = 4; |
- COMPILE_ASSERT(kTransactionCount <= MACH_PORT_QLIMIT_DEFAULT, |
- must_not_exceed_queue_limit); |
+ static_assert(kTransactionCount <= MACH_PORT_QLIMIT_DEFAULT, |
+ "must not exceed queue limit"); |
TestMachMessageServer::Options options; |
options.parent_wait_for_child_pipe = true; |