Index: win8/viewer/metro_viewer_process_host.cc |
diff --git a/win8/viewer/metro_viewer_process_host.cc b/win8/viewer/metro_viewer_process_host.cc |
index 70b6b35a70015c2bb74cf6ad93565f2c3957580c..dde741b5ccc4eca96ef9242453541eec154da4cc 100644 |
--- a/win8/viewer/metro_viewer_process_host.cc |
+++ b/win8/viewer/metro_viewer_process_host.cc |
@@ -51,11 +51,10 @@ MetroViewerProcessHost::MetroViewerProcessHost( |
DCHECK(!instance_); |
instance_ = this; |
- channel_.reset(new IPC::ChannelProxy( |
- kMetroViewerIPCChannelName, |
- IPC::Channel::MODE_NAMED_SERVER, |
- this, |
- ipc_task_runner)); |
+ channel_ = IPC::ChannelProxy::Create(kMetroViewerIPCChannelName, |
+ IPC::Channel::MODE_NAMED_SERVER, |
+ this, |
+ ipc_task_runner); |
} |
MetroViewerProcessHost::~MetroViewerProcessHost() { |