| Index: components/update_client/component_patcher_unittest.cc
|
| diff --git a/components/update_client/component_patcher_unittest.cc b/components/update_client/component_patcher_unittest.cc
|
| index 2079d630e7976fb97d54f180775cb8e1e1e6d653..a684e12bf46dd83e7c323a0e25519e1196fbb42f 100644
|
| --- a/components/update_client/component_patcher_unittest.cc
|
| +++ b/components/update_client/component_patcher_unittest.cc
|
| @@ -11,6 +11,7 @@
|
| #include "base/macros.h"
|
| #include "base/path_service.h"
|
| #include "base/run_loop.h"
|
| +#include "base/threading/thread_task_runner_handle.h"
|
| #include "base/values.h"
|
| #include "components/update_client/component_patcher.h"
|
| #include "components/update_client/component_patcher_operation.h"
|
| @@ -69,7 +70,7 @@ ComponentPatcherOperationTest::ComponentPatcherOperationTest() {
|
| EXPECT_TRUE(input_dir_.CreateUniqueTempDir());
|
| EXPECT_TRUE(installed_dir_.CreateUniqueTempDir());
|
| installer_ = new ReadOnlyTestInstaller(installed_dir_.GetPath());
|
| - task_runner_ = base::MessageLoop::current()->task_runner();
|
| + task_runner_ = base::ThreadTaskRunnerHandle::Get();
|
| }
|
|
|
| ComponentPatcherOperationTest::~ComponentPatcherOperationTest() {
|
|
|