diff options
author | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-13 21:30:42 +0000 |
---|---|---|
committer | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-13 21:30:42 +0000 |
commit | 69557d3f564076a7708674d4b5d0d98b3978a6d9 (patch) | |
tree | fec3a77afaa2d1c8a863fc8f1e1f0996ed37e6a4 /chrome_frame/test_utils.cc | |
parent | d76daa7d21b13f714fab6386ad257c2692727f80 (diff) | |
download | chromium_src-69557d3f564076a7708674d4b5d0d98b3978a6d9.zip chromium_src-69557d3f564076a7708674d4b5d0d98b3978a6d9.tar.gz chromium_src-69557d3f564076a7708674d4b5d0d98b3978a6d9.tar.bz2 |
Switch to TimeDelta interfaces in chrome automation test infrastructure.
BUG=108171
Review URL: https://chromiumcodereview.appspot.com/10736064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146656 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test_utils.cc')
-rw-r--r-- | chrome_frame/test_utils.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome_frame/test_utils.cc b/chrome_frame/test_utils.cc index 2333cc6..ef8a288 100644 --- a/chrome_frame/test_utils.cc +++ b/chrome_frame/test_utils.cc @@ -113,8 +113,9 @@ void ScopedChromeFrameRegistrar::DoRegistration( << registration_command; } else { base::win::ScopedHandle rundll32(process_handle); - if (!base::WaitForExitCodeWithTimeout(process_handle, &exit_code, - kDllRegistrationTimeoutMs)) { + if (!base::WaitForExitCodeWithTimeout( + process_handle, &exit_code, + base::TimeDelta::FromMilliseconds(kDllRegistrationTimeoutMs))) { LOG(ERROR) << "Timeout waiting to register or unregister DLL with " "command: " << registration_command; base::KillProcess(process_handle, 0, false); |