Index: remoting/protocol/authenticator_test_base.cc |
diff --git a/remoting/protocol/authenticator_test_base.cc b/remoting/protocol/authenticator_test_base.cc |
index 7b26f0a90c37fc2a5621eadccd7ddad9b7111b7d..7f9e61b1fdac6e8baedfaa3db4b7d25881bb2b78 100644 |
--- a/remoting/protocol/authenticator_test_base.cc |
+++ b/remoting/protocol/authenticator_test_base.cc |
@@ -145,7 +145,7 @@ void AuthenticatorTestBase::RunChannelAuth(bool expected_fail) { |
// Ensure that .Run() does not run unbounded if the callbacks are never |
// called. |
- base::Timer shutdown_timer(false, false); |
+ base::OneShotTimer shutdown_timer; |
shutdown_timer.Start(FROM_HERE, TestTimeouts::action_timeout(), |
base::MessageLoop::QuitWhenIdleClosure()); |
base::RunLoop().Run(); |