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

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: 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
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) {

Powered by Google App Engine
This is Rietveld 408576698