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

Unified Diff: mojo/edk/system/node_channel.cc

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/channel_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/node_channel.cc
diff --git a/mojo/edk/system/node_channel.cc b/mojo/edk/system/node_channel.cc
index da9e0dbf25c3bcd53413b119e566e11e28365d0c..91a69c3b9db27361c00fba41806f38ab9cac9d5f 100644
--- a/mojo/edk/system/node_channel.cc
+++ b/mojo/edk/system/node_channel.cc
@@ -55,8 +55,8 @@ struct Header {
uint32_t padding;
};
-static_assert(sizeof(Header) % kChannelMessageAlignment == 0,
- "Invalid header size.");
+static_assert(IsAlignedForChannelMessage(sizeof(Header)),
+ "Invalid header size.");
struct AcceptChildData {
ports::NodeName parent_name;
« no previous file with comments | « mojo/edk/system/channel_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698