Index: mojo/shell/child_process_host_unittest.cc |
diff --git a/mojo/shell/child_process_host_unittest.cc b/mojo/shell/child_process_host_unittest.cc |
index 97bc96dca08d25d873a7ec287644c404a7de3634..f92a4bb7b2adb2138379dd2ee8a0cdffe07fe807 100644 |
--- a/mojo/shell/child_process_host_unittest.cc |
+++ b/mojo/shell/child_process_host_unittest.cc |
@@ -34,10 +34,10 @@ class TestChildProcessHostDelegate : public ChildProcessHost::Delegate { |
typedef testing::Test ChildProcessHostTest; |
TEST_F(ChildProcessHostTest, Basic) { |
+ Context context; |
base::MessageLoop message_loop( |
scoped_ptr<base::MessagePump>(new common::MessagePumpMojo())); |
- |
- Context context; |
+ context.Init(); |
TestChildProcessHostDelegate child_process_host_delegate; |
ChildProcessHost child_process_host(&context, |
&child_process_host_delegate, |