| Index: base/threading/worker_pool_unittest.cc
|
| diff --git a/base/threading/worker_pool_unittest.cc b/base/threading/worker_pool_unittest.cc
|
| index 5f94e7355678d20a235f301cf49a3e5d3e4cf87b..10ca4f151183415371d86e91bcae266791848f36 100644
|
| --- a/base/threading/worker_pool_unittest.cc
|
| +++ b/base/threading/worker_pool_unittest.cc
|
| @@ -95,8 +95,7 @@ TEST_F(WorkerPoolTest, MAYBE_PostTaskAndReply) {
|
| scoped_refptr<PostTaskAndReplyTester> tester(new PostTaskAndReplyTester());
|
| tester->RunTest();
|
|
|
| - const TimeDelta kMaxDuration =
|
| - TimeDelta::FromMilliseconds(TestTimeouts::tiny_timeout_ms());
|
| + const TimeDelta kMaxDuration = TestTimeouts::tiny_timeout();
|
| TimeTicks start = TimeTicks::Now();
|
| while (!tester->finished() && TimeTicks::Now() - start < kMaxDuration) {
|
| MessageLoop::current()->RunAllPending();
|
|
|