Chromium Code Reviews| 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) { |