Index: base/threading/sequenced_worker_pool_unittest.cc |
diff --git a/base/threading/sequenced_worker_pool_unittest.cc b/base/threading/sequenced_worker_pool_unittest.cc |
index 10d1d97e72b879cd19979d1e5014454ddf4d41b8..ccc21d8ebbaadaac4a17b60bfec3ef0cea545b6f 100644 |
--- a/base/threading/sequenced_worker_pool_unittest.cc |
+++ b/base/threading/sequenced_worker_pool_unittest.cc |
@@ -991,9 +991,9 @@ TEST_P(SequencedWorkerPoolTest, FlushForTesting) { |
// Queue up a bunch of work, including a long delayed task and |
// a task that produces additional tasks as an artifact. |
- pool()->PostDelayedWorkerTask( |
- FROM_HERE, base::BindOnce(&TestTracker::FastTask, tracker(), 0), |
- TimeDelta::FromMinutes(5)); |
+ pool()->PostDelayedTask(FROM_HERE, |
+ base::BindOnce(&TestTracker::FastTask, tracker(), 0), |
+ TimeDelta::FromMinutes(5)); |
pool()->PostWorkerTask(FROM_HERE, |
base::BindOnce(&TestTracker::SlowTask, tracker(), 0)); |
const size_t kNumFastTasks = 20; |