| Index: chrome/app_shim/chrome_main_app_mode_mac.mm
|
| diff --git a/chrome/app_shim/chrome_main_app_mode_mac.mm b/chrome/app_shim/chrome_main_app_mode_mac.mm
|
| index 98630a62270e229400f68b10a4c4a1c46f3a0b10..8cdc84549351327fb1790d606f1b7c6c82e3f9dc 100644
|
| --- a/chrome/app_shim/chrome_main_app_mode_mac.mm
|
| +++ b/chrome/app_shim/chrome_main_app_mode_mac.mm
|
| @@ -33,6 +33,7 @@
|
| #include "chrome/common/mac/app_mode_common.h"
|
| #include "chrome/common/mac/app_shim_messages.h"
|
| #include "chrome/grit/generated_resources.h"
|
| +#include "content/public/common/child_process_host.h"
|
| #include "ipc/ipc_channel_proxy.h"
|
| #include "ipc/ipc_listener.h"
|
| #include "ipc/ipc_message.h"
|
| @@ -211,8 +212,10 @@ void AppShimController::Init() {
|
| void AppShimController::CreateChannelAndSendLaunchApp(
|
| const base::FilePath& socket_path) {
|
| IPC::ChannelHandle handle(socket_path.value());
|
| - channel_ = IPC::ChannelProxy::Create(handle, IPC::Channel::MODE_NAMED_CLIENT,
|
| - this, g_io_thread->task_runner().get());
|
| + channel_ = IPC::ChannelProxy::Create(
|
| + handle, IPC::Channel::MODE_NAMED_CLIENT, this,
|
| + g_io_thread->task_runner().get(),
|
| + content::ChildProcessHost::GetAttachmentBroker());
|
|
|
| bool launched_by_chrome = base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| app_mode::kLaunchedByChromeProcessId);
|
|
|