summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_proxy.h
diff options
context:
space:
mode:
authorerikchen <erikchen@chromium.org>2015-10-21 11:48:34 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-21 18:49:34 +0000
commitec3519f4eae5915b40f2bf45f07e5959932a85ce (patch)
tree108daeaa137f670fe69b3e00de05437f1733c63e /ipc/ipc_channel_proxy.h
parentddf01ae02e5ee8ba63885064772f9cad0eddea17 (diff)
downloadchromium_src-ec3519f4eae5915b40f2bf45f07e5959932a85ce.zip
chromium_src-ec3519f4eae5915b40f2bf45f07e5959932a85ce.tar.gz
chromium_src-ec3519f4eae5915b40f2bf45f07e5959932a85ce.tar.bz2
ipc: Fix minor bug in ChannelProxy.
The attachment broker endpoint parameter was not being passed to the underlying Channel if the Channel had already been constructed. BUG=535711 Review URL: https://codereview.chromium.org/1418893002 Cr-Commit-Position: refs/heads/master@{#355354}
Diffstat (limited to 'ipc/ipc_channel_proxy.h')
-rw-r--r--ipc/ipc_channel_proxy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipc/ipc_channel_proxy.h b/ipc/ipc_channel_proxy.h
index f2eb82b..7de65bd 100644
--- a/ipc/ipc_channel_proxy.h
+++ b/ipc/ipc_channel_proxy.h
@@ -215,6 +215,8 @@ class IPC_EXPORT ChannelProxy : public Endpoint, public base::NonThreadSafe {
void set_attachment_broker_endpoint(bool is_endpoint) {
attachment_broker_endpoint_ = is_endpoint;
+ if (channel_)
+ channel_->SetAttachmentBrokerEndpoint(is_endpoint);
}
// Methods called on the IO thread.