Chromium Code Reviews| Index: chrome_frame/test/automation_client_mock.cc |
| diff --git a/chrome_frame/test/automation_client_mock.cc b/chrome_frame/test/automation_client_mock.cc |
| index e24d05b5244e88ca80d5b950b9d9657e3e774fe5..f35006fec94e5cdd397a8c3d0b4b9f1edfe18220 100644 |
| --- a/chrome_frame/test/automation_client_mock.cc |
| +++ b/chrome_frame/test/automation_client_mock.cc |
| @@ -44,9 +44,9 @@ void MockProxyFactory::GetServerImpl(ChromeFrameAutomationProxy* pxy, |
| void** automation_server_id) { |
| *automation_server_id = proxy_id; |
| loop_->PostDelayedTask(FROM_HERE, |
| - base::Bind(&LaunchDelegate::LaunchComplete, |
| - base::Unretained(d), pxy, result), |
| - params->launch_timeout() / 2); |
| + base::Bind(&LaunchDelegate::LaunchComplete, |
| + base::Unretained(d), pxy, result), |
| + base::TimeDelta::FromMilliseconds(params->launch_timeout()) / 2); |
|
ananta
2012/04/13 17:50:21
Would this work correctly?. The launch timeout app
|
| } |
| void CFACMockTest::SetAutomationServerOk(int times) { |