Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: trunk/src/win8/viewer/metro_viewer_process_host.cc

Issue 312553004: Revert 274310 "Introduce IPC::ChannelProxy::Create*() and IPC::S..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/win8/metro_driver/chrome_app_view_ash.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/win8/viewer/metro_viewer_process_host.cc
===================================================================
--- trunk/src/win8/viewer/metro_viewer_process_host.cc (revision 274314)
+++ trunk/src/win8/viewer/metro_viewer_process_host.cc (working copy)
@@ -51,10 +51,11 @@
DCHECK(!instance_);
instance_ = this;
- channel_ = IPC::ChannelProxy::CreateNamedServer(
+ channel_.reset(new IPC::ChannelProxy(
kMetroViewerIPCChannelName,
+ IPC::Channel::MODE_NAMED_SERVER,
this,
- ipc_task_runner);
+ ipc_task_runner));
}
MetroViewerProcessHost::~MetroViewerProcessHost() {
« no previous file with comments | « trunk/src/win8/metro_driver/chrome_app_view_ash.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698