| Index: mojo/edk/js/tests/js_to_cpp_tests.cc
|
| diff --git a/mojo/edk/js/tests/js_to_cpp_tests.cc b/mojo/edk/js/tests/js_to_cpp_tests.cc
|
| index cfd9d646303ef6bbe3305f7c073599871f95ba31..2e7a39e0b8eaa977461b974c17e9100fba1170a3 100644
|
| --- a/mojo/edk/js/tests/js_to_cpp_tests.cc
|
| +++ b/mojo/edk/js/tests/js_to_cpp_tests.cc
|
| @@ -15,6 +15,7 @@
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/run_loop.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| +#include "base/threading/thread_task_runner_handle.h"
|
| #include "gin/array_buffer.h"
|
| #include "gin/public/isolate_holder.h"
|
| #include "gin/v8_initializer.h"
|
| @@ -404,7 +405,7 @@ class JsToCppTest : public testing::Test {
|
| gin::IsolateHolder::Initialize(gin::IsolateHolder::kStrictMode,
|
| gin::IsolateHolder::kStableV8Extras,
|
| gin::ArrayBufferAllocator::SharedInstance());
|
| - gin::IsolateHolder instance;
|
| + gin::IsolateHolder instance(base::ThreadTaskRunnerHandle::Get());
|
| MojoRunnerDelegate delegate;
|
| gin::ShellRunner runner(&delegate, instance.isolate());
|
| delegate.Start(&runner, js_side_proxy.PassMessagePipe().release().value(),
|
|
|