Index: chrome/test/reliability/page_load_test.cc |
=================================================================== |
--- chrome/test/reliability/page_load_test.cc (revision 13127) |
+++ chrome/test/reliability/page_load_test.cc (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2006-2009 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. |
// |
@@ -182,9 +182,9 @@ |
&activation_timeout); |
if (!activation_timeout) { |
window->SimulateOSKeyPress(VK_NEXT, 0); |
- Sleep(sleep_timeout_ms()); |
+ PlatformThread::Sleep(sleep_timeout_ms()); |
window->SimulateOSKeyPress(VK_NEXT, 0); |
- Sleep(sleep_timeout_ms()); |
+ PlatformThread::Sleep(sleep_timeout_ms()); |
} |
} |
} |