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

Unified Diff: mojo/edk/system/ports/node.cc

Issue 1676803002: [mojo-edk] Minor clean-up in the ports layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/ports/event.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/ports/node.cc
diff --git a/mojo/edk/system/ports/node.cc b/mojo/edk/system/ports/node.cc
index 1718306fc672bab1f7e0660fd10fcaa732cbb0c1..1030016093107ae95ab58b0d8694830cbdb653bd 100644
--- a/mojo/edk/system/ports/node.cc
+++ b/mojo/edk/system/ports/node.cc
@@ -791,6 +791,9 @@ void Node::WillSendPort_Locked(Port* port,
port_descriptor->last_sequence_num_to_receive =
port->last_sequence_num_to_receive;
port_descriptor->peer_closed = port->peer_closed;
+ port_descriptor->padding0 = 0;
+ port_descriptor->padding1 = 0;
+ port_descriptor->padding2 = 0;
// Configure the local port to point to the new port.
port->peer_node_name = to_node_name;
« no previous file with comments | « mojo/edk/system/ports/event.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698