summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 08:21:50 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 08:21:50 +0000
commitb7273e0140e3d75e4cbed24a7510d96f3d662045 (patch)
treeafc96399da6d16a1b50fbde5646f79792f49d7f0 /chrome
parentb47461bd96be9ca7c3a39a7ef1d767cab966bdc5 (diff)
downloadchromium_src-b7273e0140e3d75e4cbed24a7510d96f3d662045.zip
chromium_src-b7273e0140e3d75e4cbed24a7510d96f3d662045.tar.gz
chromium_src-b7273e0140e3d75e4cbed24a7510d96f3d662045.tar.bz2
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
Diffstat (limited to 'chrome')
-rw-r--r--chrome/common/ipc_message.cc2
1 files changed, 2 insertions, 0 deletions
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() {