Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1559)

Unified Diff: mojo/edk/system/broker_messages.h

Issue 2710193003: Adding a new message type to the Mojo channel. (Closed)
Patch Set: Fixed Mac tests + sync Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/system/BUILD.gn ('k') | mojo/edk/system/channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « mojo/edk/system/BUILD.gn ('k') | mojo/edk/system/channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698