Index: content/child/child_thread_impl.cc |
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc |
index 013d1d51302d1920edcbe76ec7b463357789c8f5..661406cf7ad3f1cc4ed1db9253b0f1f6e30ec758 100644 |
--- a/content/child/child_thread_impl.cc |
+++ b/content/child/child_thread_impl.cc |
@@ -51,6 +51,7 @@ |
#include "content/common/child_process_messages.h" |
#include "content/common/in_process_child_thread_params.h" |
#include "content/public/common/content_switches.h" |
+#include "content/public/common/mojo_channel_switches.h" |
#include "ipc/ipc_logging.h" |
#include "ipc/ipc_switches.h" |
#include "ipc/ipc_sync_channel.h" |
@@ -247,7 +248,7 @@ void ChildThreadImpl::SingleProcessChannelDelegateDeleter::operator()( |
ChildThreadImpl::Options::Options() |
: channel_name(base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
switches::kProcessChannelID)), |
- use_mojo_channel(false) { |
+ use_mojo_channel(ShouldUseMojoChannel()) { |
} |
ChildThreadImpl::Options::~Options() { |