Index: mojo/edk/system/broker_messages.h |
diff --git a/mojo/edk/system/broker_messages.h b/mojo/edk/system/broker_messages.h |
index 19b757eec496e04c9c693543327fd21c50a25695..0f0dd9dc42b11aa5ba52de63373de86a34dc7d20 100644 |
--- a/mojo/edk/system/broker_messages.h |
+++ b/mojo/edk/system/broker_messages.h |
@@ -23,7 +23,7 @@ struct BrokerMessageHeader { |
uint32_t padding; |
}; |
-static_assert(sizeof(BrokerMessageHeader) % kChannelMessageAlignment == 0, |
+static_assert(IsAlignedForChannelMessage(sizeof(BrokerMessageHeader)), |
"Invalid header size."); |
struct BufferRequestData { |