Index: base/task_scheduler/sequence_unittest.cc |
diff --git a/base/task_scheduler/sequence_unittest.cc b/base/task_scheduler/sequence_unittest.cc |
index c45d8a87d010054872e5861824f5e9911e92f15d..7093b1e94d78d33cd813671c772879d155f5fda0 100644 |
--- a/base/task_scheduler/sequence_unittest.cc |
+++ b/base/task_scheduler/sequence_unittest.cc |
@@ -7,6 +7,7 @@ |
#include <utility> |
#include "base/bind.h" |
+#include "base/bind_helpers.h" |
#include "base/macros.h" |
#include "base/memory/ptr_util.h" |
#include "base/test/gtest_util.h" |
@@ -24,27 +25,27 @@ class TaskSchedulerSequenceTest : public testing::Test { |
TaskSchedulerSequenceTest() |
: task_a_owned_( |
new Task(FROM_HERE, |
- Closure(), |
+ Bind(&DoNothing), |
TaskTraits().WithPriority(TaskPriority::BACKGROUND), |
TimeDelta())), |
task_b_owned_( |
new Task(FROM_HERE, |
- Closure(), |
+ Bind(&DoNothing), |
TaskTraits().WithPriority(TaskPriority::USER_VISIBLE), |
TimeDelta())), |
task_c_owned_( |
new Task(FROM_HERE, |
- Closure(), |
+ Bind(&DoNothing), |
TaskTraits().WithPriority(TaskPriority::USER_BLOCKING), |
TimeDelta())), |
task_d_owned_( |
new Task(FROM_HERE, |
- Closure(), |
+ Bind(&DoNothing), |
TaskTraits().WithPriority(TaskPriority::USER_BLOCKING), |
TimeDelta())), |
task_e_owned_( |
new Task(FROM_HERE, |
- Closure(), |
+ Bind(&DoNothing), |
TaskTraits().WithPriority(TaskPriority::BACKGROUND), |
TimeDelta())), |
task_a_(task_a_owned_.get()), |