Index: content/browser/fileapi/sandbox_file_system_backend_unittest.cc |
diff --git a/content/browser/fileapi/sandbox_file_system_backend_unittest.cc b/content/browser/fileapi/sandbox_file_system_backend_unittest.cc |
index 8009e61b54f94aa11e3f020778bef7ee4fb13cec..f83e735f841c311bda6b2b67c14ff819fe556949 100644 |
--- a/content/browser/fileapi/sandbox_file_system_backend_unittest.cc |
+++ b/content/browser/fileapi/sandbox_file_system_backend_unittest.cc |
@@ -13,6 +13,7 @@ |
#include "base/files/scoped_temp_dir.h" |
#include "base/macros.h" |
#include "base/run_loop.h" |
+#include "base/test/scoped_task_environment.h" |
#include "base/threading/thread_task_runner_handle.h" |
#include "content/public/test/test_file_system_options.h" |
#include "storage/browser/fileapi/file_system_backend.h" |
@@ -127,7 +128,7 @@ class SandboxFileSystemBackendTest : public testing::Test { |
} |
base::ScopedTempDir data_dir_; |
- base::MessageLoop message_loop_; |
+ base::test::ScopedTaskEnvironment scoped_task_environment_; |
std::unique_ptr<storage::SandboxFileSystemBackendDelegate> delegate_; |
std::unique_ptr<storage::SandboxFileSystemBackend> backend_; |
}; |