Index: ipc/mojo/async_handle_waiter.cc |
diff --git a/ipc/mojo/async_handle_waiter.cc b/ipc/mojo/async_handle_waiter.cc |
index d8455ee950c27d6ba991a719159c8ca8d7b3bc85..cf908a71e4dc8242f96b320d50532ff0b88f745b 100644 |
--- a/ipc/mojo/async_handle_waiter.cc |
+++ b/ipc/mojo/async_handle_waiter.cc |
@@ -51,10 +51,10 @@ class AsyncHandleWaiter::Context |
}; |
AsyncHandleWaiter::AsyncHandleWaiter(base::Callback<void(MojoResult)> callback) |
- : weak_factory_(this), |
- context_(new Context(base::MessageLoop::current()->task_runner(), |
- weak_factory_.GetWeakPtr())), |
- callback_(callback) { |
+ : callback_(callback), |
+ weak_factory_(this) { |
+ context_ = new Context(base::MessageLoop::current()->task_runner(), |
+ weak_factory_.GetWeakPtr()); |
} |
AsyncHandleWaiter::~AsyncHandleWaiter() { |