From b7273e0140e3d75e4cbed24a7510d96f3d662045 Mon Sep 17 00:00:00 2001 From: "agl@chromium.org" Date: Tue, 10 Feb 2009 08:21:50 +0000 Subject: Windows: build fix Windows doesn't have a DescriptorSet, so don't try to copy it. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9473 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/ipc_message.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome') diff --git a/chrome/common/ipc_message.cc b/chrome/common/ipc_message.cc index 9ec3105..513dc70 100644 --- a/chrome/common/ipc_message.cc +++ b/chrome/common/ipc_message.cc @@ -40,7 +40,9 @@ Message::Message(const char* data, int data_len) : Pickle(data, data_len) { Message::Message(const Message& other) : Pickle(other) { InitLoggingVariables(); +#if defined(OS_POSIX) descriptor_set_.TakeFrom(&other.descriptor_set_); +#endif } void Message::InitLoggingVariables() { -- cgit v1.1