Index: content/renderer/render_thread_impl_browsertest.cc |
diff --git a/content/renderer/render_thread_impl_browsertest.cc b/content/renderer/render_thread_impl_browsertest.cc |
index c31cc14f3ae4893806378f2f9db3b556e4dd1f19..d814e56d30492aaaebf63ccf7336f88746dcb853 100644 |
--- a/content/renderer/render_thread_impl_browsertest.cc |
+++ b/content/renderer/render_thread_impl_browsertest.cc |
@@ -9,7 +9,8 @@ |
#include "base/single_thread_task_runner.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/thread_task_runner_handle.h" |
-#include "components/scheduler/renderer/renderer_scheduler.h" |
+#include "components/scheduler/renderer/renderer_scheduler.h" |
+#include "content/app/mojo/mojo_init.h" |
#include "content/common/in_process_child_thread_params.h" |
#include "content/common/resource_messages.h" |
#include "content/common/websocket_messages.h" |
@@ -173,6 +174,7 @@ class RenderThreadImplBrowserTest : public testing::Test { |
scoped_ptr<scheduler::RendererScheduler> renderer_scheduler = |
scheduler::RendererScheduler::Create(); |
+ InitializeMojo(); |
thread_ = new RenderThreadImplForTest( |
InProcessChildThreadParams(test_helper_->GetChannelId(), |
test_helper_->GetIOTaskRunner()), |