diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_shim/app_shim_host_mac.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/app_shim/app_shim_host_mac.cc b/apps/app_shim/app_shim_host_mac.cc index 7ae2dd6..3b4423b 100644 --- a/apps/app_shim/app_shim_host_mac.cc +++ b/apps/app_shim/app_shim_host_mac.cc @@ -28,9 +28,12 @@ AppShimHost::~AppShimHost() { void AppShimHost::ServeChannel(const IPC::ChannelHandle& handle) { DCHECK(CalledOnValidThread()); DCHECK(!channel_.get()); - channel_.reset(new IPC::ChannelProxy(handle, IPC::Channel::MODE_SERVER, this, + channel_.reset(new IPC::ChannelProxy( + handle, + IPC::Channel::MODE_SERVER, + this, content::BrowserThread::GetMessageLoopProxyForThread( - content::BrowserThread::IO))); + content::BrowserThread::IO).get())); } Profile* AppShimHost::GetProfile() const { |