Index: ipc/ipc_message_utils.cc |
diff --git a/ipc/ipc_message_utils.cc b/ipc/ipc_message_utils.cc |
index bc5f6459c4f30154bb27cfbfef929acdbde0820f..83a5c7f225fc3f5de5ce933d8aa10b1a7b796728 100644 |
--- a/ipc/ipc_message_utils.cc |
+++ b/ipc/ipc_message_utils.cc |
@@ -433,6 +433,10 @@ void ParamTraits<base::FileDescriptor>::Log(const param_type& p, |
#endif // defined(OS_POSIX) |
void ParamTraits<IPC::ChannelHandle>::Write(Message* m, const param_type& p) { |
+#if defined(OS_WIN) |
+ // On Windows marshalling pipe handle is not supported. |
+ DCHECK(p.pipe.handle == NULL); |
+#endif // defined (OS_WIN) |
WriteParam(m, p.name); |
#if defined(OS_POSIX) |
WriteParam(m, p.socket); |