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

Unified Diff: trunk/src/components/nacl/broker/nacl_broker_listener.cc

Issue 304153005: Revert 273575 "Introduce IPC::Channel::Create*() to ensure it be..." (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
Index: trunk/src/components/nacl/broker/nacl_broker_listener.cc
===================================================================
--- trunk/src/components/nacl/broker/nacl_broker_listener.cc (revision 273593)
+++ trunk/src/components/nacl/broker/nacl_broker_listener.cc (working copy)
@@ -40,7 +40,8 @@
std::string channel_name =
CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
switches::kProcessChannelID);
- channel_ = IPC::Channel::CreateClient(channel_name, this);
+ channel_.reset(new IPC::Channel(
+ channel_name, IPC::Channel::MODE_CLIENT, this));
CHECK(channel_->Connect());
base::MessageLoop::current()->Run();
}

Powered by Google App Engine
This is Rietveld 408576698