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

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: Another rebase onto master. 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
« no previous file with comments | « chrome_frame/delete_chrome_history.cc ('k') | chrome_frame/test/chrome_frame_automation_mock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0927ae2b6cf05ff009f66c4eba3b9223fb5e4fe7..94a836ba1529d04ccd5496276de3cef63fa9f3d3 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);
}
void CFACMockTest::SetAutomationServerOk(int times) {
« no previous file with comments | « chrome_frame/delete_chrome_history.cc ('k') | chrome_frame/test/chrome_frame_automation_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698