| Index: chrome/browser/apps/app_shim/app_shim_host_mac.cc
|
| diff --git a/chrome/browser/apps/app_shim/app_shim_host_mac.cc b/chrome/browser/apps/app_shim/app_shim_host_mac.cc
|
| index 6ce706eba279fb95fe84bb5154bd53ec2c820c62..91da6c1c4b83bc35c53f1fe029bd40aad93ad2f6 100644
|
| --- a/chrome/browser/apps/app_shim/app_shim_host_mac.cc
|
| +++ b/chrome/browser/apps/app_shim/app_shim_host_mac.cc
|
| @@ -10,6 +10,7 @@
|
| #include "chrome/browser/apps/app_shim/app_shim_handler_mac.h"
|
| #include "chrome/common/mac/app_shim_messages.h"
|
| #include "content/public/browser/browser_thread.h"
|
| +#include "content/public/common/child_process_host.h"
|
| #include "ipc/ipc_channel_proxy.h"
|
|
|
| AppShimHost::AppShimHost() : initial_launch_finished_(false) {}
|
| @@ -25,11 +26,10 @@ void AppShimHost::ServeChannel(const IPC::ChannelHandle& handle) {
|
| DCHECK(CalledOnValidThread());
|
| DCHECK(!channel_.get());
|
| channel_ = IPC::ChannelProxy::Create(
|
| - handle,
|
| - IPC::Channel::MODE_SERVER,
|
| - this,
|
| + handle, IPC::Channel::MODE_SERVER, this,
|
| content::BrowserThread::GetMessageLoopProxyForThread(
|
| - content::BrowserThread::IO).get());
|
| + content::BrowserThread::IO).get(),
|
| + content::ChildProcessHost::GetAttachmentBroker());
|
| }
|
|
|
| base::FilePath AppShimHost::GetProfilePath() const {
|
|
|