| Index: extensions/renderer/api_binding_test.h
|
| diff --git a/extensions/renderer/api_binding_test.h b/extensions/renderer/api_binding_test.h
|
| index 41e2b050360dcb48f69cf4d4365508fd01432a6a..76e0f71626bba3a383c38f358a2311099481e05d 100644
|
| --- a/extensions/renderer/api_binding_test.h
|
| +++ b/extensions/renderer/api_binding_test.h
|
| @@ -9,7 +9,7 @@
|
| #include <vector>
|
|
|
| #include "base/macros.h"
|
| -#include "base/message_loop/message_loop.h"
|
| +#include "base/test/scoped_task_environment.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "v8/include/v8.h"
|
|
|
| @@ -58,7 +58,8 @@ class APIBindingTest : public testing::Test {
|
| private:
|
| void RunGarbageCollection();
|
|
|
| - base::MessageLoop message_loop_;
|
| + base::test::ScopedTaskEnvironment scoped_task_environment_;
|
| +
|
| std::unique_ptr<gin::IsolateHolder> isolate_holder_;
|
| std::unique_ptr<gin::ContextHolder> main_context_holder_;
|
| std::vector<std::unique_ptr<gin::ContextHolder>> additional_context_holders_;
|
|
|