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

Unified Diff: trunk/src/components/nacl/loader/nacl_ipc_adapter.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/loader/nacl_ipc_adapter.cc
===================================================================
--- trunk/src/components/nacl/loader/nacl_ipc_adapter.cc (revision 273593)
+++ trunk/src/components/nacl/loader/nacl_ipc_adapter.cc (working copy)
@@ -329,7 +329,8 @@
cond_var_(&lock_),
task_runner_(runner),
locked_data_() {
- io_thread_data_.channel_ = IPC::Channel::CreateServer(handle, this);
+ io_thread_data_.channel_.reset(
+ new IPC::Channel(handle, IPC::Channel::MODE_SERVER, this));
// Note, we can not PostTask for ConnectChannelOnIOThread here. If we did,
// and that task ran before this constructor completes, the reference count
// would go to 1 and then to 0 because of the Task, before we've been returned
« no previous file with comments | « trunk/src/components/nacl/broker/nacl_broker_listener.cc ('k') | trunk/src/content/browser/plugin_data_remover_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698