Index: trunk/src/apps/app_shim/app_shim_host_mac.cc |
=================================================================== |
--- trunk/src/apps/app_shim/app_shim_host_mac.cc (revision 274314) |
+++ trunk/src/apps/app_shim/app_shim_host_mac.cc (working copy) |
@@ -24,11 +24,12 @@ |
void AppShimHost::ServeChannel(const IPC::ChannelHandle& handle) { |
DCHECK(CalledOnValidThread()); |
DCHECK(!channel_.get()); |
- channel_ = IPC::ChannelProxy::CreateServer( |
+ channel_.reset(new IPC::ChannelProxy( |
handle, |
+ IPC::Channel::MODE_SERVER, |
this, |
content::BrowserThread::GetMessageLoopProxyForThread( |
- content::BrowserThread::IO).get()); |
+ content::BrowserThread::IO).get())); |
} |
base::FilePath AppShimHost::GetProfilePath() const { |