| Index: content/test/content_test_suite.cc
|
| diff --git a/content/test/content_test_suite.cc b/content/test/content_test_suite.cc
|
| index 2cb9731ea48e08a9dce3440f52387cf5f78b34b5..94c92012d70be71a70fba126d7aff02c2cc93069 100644
|
| --- a/content/test/content_test_suite.cc
|
| +++ b/content/test/content_test_suite.cc
|
| @@ -13,6 +13,7 @@
|
| #include "content/public/common/content_paths.h"
|
| #include "content/public/test/test_content_client_initializer.h"
|
| #include "gpu/config/gpu_util.h"
|
| +#include "mojo/edk/embedder/embedder.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| #if defined(OS_WIN)
|
| @@ -68,7 +69,8 @@ class TestInitializationListener : public testing::EmptyTestEventListener {
|
| } // namespace
|
|
|
| ContentTestSuite::ContentTestSuite(int argc, char** argv)
|
| - : ContentTestSuiteBase(argc, argv) {
|
| + : ContentTestSuiteBase(argc, argv),
|
| + test_io_thread_(base::TestIOThread::kAutoStart) {
|
| }
|
|
|
| ContentTestSuite::~ContentTestSuite() {
|
| @@ -92,6 +94,7 @@ void ContentTestSuite::Initialize() {
|
| ContentTestSuiteBase::RegisterContentSchemes(&client);
|
| }
|
| RegisterPathProvider();
|
| + mojo::edk::Init(test_io_thread_.task_runner());
|
| #if !defined(OS_IOS)
|
| media::InitializeMediaLibrary();
|
| // When running in a child process for Mac sandbox tests, the sandbox exists
|
|
|