Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10509)

Unified Diff: chrome_frame/test/automation_client_mock.cc

Issue 10019015: Update uses of TimeDelta in chrome_frame/*. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698