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

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: 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/test/net/fake_external_tab.cc ('k') | chrome_frame/test/test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
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) {
« no previous file with comments | « chrome_frame/test/net/fake_external_tab.cc ('k') | chrome_frame/test/test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698