summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/ipc_tests.cc4
-rw-r--r--chrome/common/logging_chrome_uitest.cc6
2 files changed, 5 insertions, 5 deletions
diff --git a/chrome/common/ipc_tests.cc b/chrome/common/ipc_tests.cc
index ae88659..4c44d44e 100644
--- a/chrome/common/ipc_tests.cc
+++ b/chrome/common/ipc_tests.cc
@@ -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.
@@ -436,7 +436,7 @@ TEST_F(IPCChannelTest, Performance) {
HANDLE process = SpawnChild(TEST_REFLECTOR, &chan);
ASSERT_TRUE(process);
- Sleep(1000);
+ PlatformThread::Sleep(1000);
PerfTimeLogger logger("IPC_Perf");
diff --git a/chrome/common/logging_chrome_uitest.cc b/chrome/common/logging_chrome_uitest.cc
index c03eb88..99fac8d 100644
--- a/chrome/common/logging_chrome_uitest.cc
+++ b/chrome/common/logging_chrome_uitest.cc
@@ -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.
@@ -108,7 +108,7 @@ TEST_F(RendererCrashTest, Crash) {
expected_crashes_ = 0;
} else {
// Wait while the process is writing the crash dump.
- Sleep(5000);
+ PlatformThread::Sleep(5000);
expected_crashes_ = 1;
}
}
@@ -129,6 +129,6 @@ class BrowserCrashTest : public UITest {
// This test is disabled. See bug 1198934.
TEST_F(BrowserCrashTest, DISABLED_Crash) {
// Wait while the process is writing the crash dump.
- Sleep(5000);
+ PlatformThread::Sleep(5000);
expected_crashes_ = 1;
}