summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authortedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-12 00:25:52 +0000
committertedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-12 00:25:52 +0000
commitbb49d8cbafa5ce78868a69c879eabffc2499c215 (patch)
tree3dea31638a2bf9534d17974d377fd5a739f5a117 /chrome_frame
parentd8bfff7569546aab660e15218667609c34a94c59 (diff)
downloadchromium_src-bb49d8cbafa5ce78868a69c879eabffc2499c215.zip
chromium_src-bb49d8cbafa5ce78868a69c879eabffc2499c215.tar.gz
chromium_src-bb49d8cbafa5ce78868a69c879eabffc2499c215.tar.bz2
Convert use of int ms to TimeDelta in files owned by ananta.
R=ananta@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9187024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117333 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/test/mock_ie_event_sink_actions.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome_frame/test/mock_ie_event_sink_actions.h b/chrome_frame/test/mock_ie_event_sink_actions.h
index 81518d7..22c4075 100644
--- a/chrome_frame/test/mock_ie_event_sink_actions.h
+++ b/chrome_frame/test/mock_ie_event_sink_actions.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -356,7 +356,7 @@ ACTION_P3(CloseWhenFileSaved, mock, file, timeout_ms) {
ADD_FAILURE() << "File was not saved within timeout";
break;
}
- base::PlatformThread::Sleep(200);
+ base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(200));
}
mock->event_sink()->CloseWebBrowser();
}
@@ -364,7 +364,7 @@ ACTION_P3(CloseWhenFileSaved, mock, file, timeout_ms) {
ACTION_P2(WaitForFileSave, file, timeout_ms) {
base::Time start = base::Time::Now();
while (!file_util::PathExists(file)) {
- base::PlatformThread::Sleep(200);
+ base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(200));
if ((base::Time::Now() - start).InMilliseconds() > timeout_ms) {
ADD_FAILURE() << "File was not saved within timeout";
break;