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

Unified Diff: chrome_frame/test/perf/chrome_frame_perftest.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/perf/chrome_frame_perftest.cc
diff --git a/chrome_frame/test/perf/chrome_frame_perftest.cc b/chrome_frame/test/perf/chrome_frame_perftest.cc
index d6421b2a4c14ecc31dbfa795a380c0e0947aaf58..aef66e662f2e3fb2351a39ae1ad8928eb992cd1c 100644
--- a/chrome_frame/test/perf/chrome_frame_perftest.cc
+++ b/chrome_frame/test/perf/chrome_frame_perftest.cc
@@ -340,7 +340,7 @@ class ChromeFrameStartupTest : public ChromeFramePerfTestBase {
// TODO(beng): Can't shut down so quickly. Figure out why, and fix. If we
// do, we crash.
- base::PlatformThread::Sleep(50);
+ base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(50));
ananta 2012/04/13 17:50:21 Are there plans to deprecate the other versions of
}
std::string times;
@@ -833,7 +833,7 @@ class ChromeFrameActiveXMemoryTest : public MemoryTestBase {
PrintResults(test_name_.c_str());
CoFreeUnusedLibraries();
- base::PlatformThread::Sleep(100);
+ base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100));
}
void NavigateImpl(const std::string& url) {

Powered by Google App Engine
This is Rietveld 408576698