| Index: content/browser/loader/resource_dispatcher_host_unittest.cc
|
| diff --git a/content/browser/loader/resource_dispatcher_host_unittest.cc b/content/browser/loader/resource_dispatcher_host_unittest.cc
|
| index 59045599dece613d9722525bae6a2ecf1db6d29b..da62f4a89ade5842aec2c7a93863191a3546ed20 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_unittest.cc
|
| +++ b/content/browser/loader/resource_dispatcher_host_unittest.cc
|
| @@ -1356,7 +1356,7 @@ TEST_F(ResourceDispatcherHostTest, DetachedResourceTimesOut) {
|
|
|
| // Wait until after the delay timer times out before we start processing any
|
| // messages.
|
| - base::OneShotTimer<base::MessageLoop> timer;
|
| + base::OneShotTimer timer;
|
| timer.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(210),
|
| base::MessageLoop::current(), &base::MessageLoop::QuitWhenIdle);
|
| base::MessageLoop::current()->Run();
|
| @@ -1759,7 +1759,7 @@ TEST_F(ResourceDispatcherHostTest, TestProcessCancelDetachedTimesOut) {
|
|
|
| // Wait until after the delay timer times out before we start processing any
|
| // messages.
|
| - base::OneShotTimer<base::MessageLoop> timer;
|
| + base::OneShotTimer timer;
|
| timer.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(210),
|
| base::MessageLoop::current(), &base::MessageLoop::QuitWhenIdle);
|
| base::MessageLoop::current()->Run();
|
|
|