Index: ipc/mojo/ipc_channel_mojo.cc |
diff --git a/ipc/mojo/ipc_channel_mojo.cc b/ipc/mojo/ipc_channel_mojo.cc |
index 2ec99454abe59ad5de37ab9665604e11badab312..88034f1c6593b7170a86ff30be60f3151e333d31 100644 |
--- a/ipc/mojo/ipc_channel_mojo.cc |
+++ b/ipc/mojo/ipc_channel_mojo.cc |
@@ -484,10 +484,10 @@ scoped_ptr<ChannelFactory> ChannelMojo::CreateFactory( |
ChannelMojo::ChannelMojo( |
scoped_ptr<Channel> bootstrap, Mode mode, Listener* listener, |
scoped_refptr<base::TaskRunner> io_thread_task_runner) |
- : weak_factory_(this), |
- bootstrap_(bootstrap.Pass()), |
+ : bootstrap_(bootstrap.Pass()), |
mode_(mode), listener_(listener), |
- peer_pid_(base::kNullProcessId) { |
+ peer_pid_(base::kNullProcessId), |
+ weak_factory_(this) { |
if (base::MessageLoopProxy::current() == io_thread_task_runner.get()) { |
InitOnIOThread(); |
} else { |