summaryrefslogtreecommitdiffstats
path: root/chrome/browser/errorpage_uitest.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 23:21:31 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 23:21:31 +0000
commit5cc06369ee53fbde978506263f0b15735560cfd6 (patch)
tree635e0d9c60bb45f633ad220701e0a7513018f7fc /chrome/browser/errorpage_uitest.cc
parentc8bdcb753bcbe960bc239419180d085534ef8432 (diff)
downloadchromium_src-5cc06369ee53fbde978506263f0b15735560cfd6.zip
chromium_src-5cc06369ee53fbde978506263f0b15735560cfd6.tar.gz
chromium_src-5cc06369ee53fbde978506263f0b15735560cfd6.tar.bz2
linux: pass a bunch more ui tests.
Mostly random portability fixes: use portable functions, use FilePath, etc. Review URL: http://codereview.chromium.org/62117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13302 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/errorpage_uitest.cc')
-rw-r--r--chrome/browser/errorpage_uitest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/errorpage_uitest.cc b/chrome/browser/errorpage_uitest.cc
index c020762..ff604d1 100644
--- a/chrome/browser/errorpage_uitest.cc
+++ b/chrome/browser/errorpage_uitest.cc
@@ -20,7 +20,7 @@ TEST_F(ErrorPageTest, DNSError) {
int i;
std::wstring title;
for (i = 0; i < 10; ++i) {
- Sleep(sleep_timeout_ms());
+ PlatformThread::Sleep(sleep_timeout_ms());
title = GetActiveTabTitle();
if (title.find(test_host) != std::wstring::npos) {
// Success, bail out.
@@ -49,7 +49,7 @@ TEST_F(ErrorPageTest, IFrame404) {
int i;
std::wstring title;
for (i = 0; i < 10; ++i) {
- Sleep(sleep_timeout_ms());
+ PlatformThread::Sleep(sleep_timeout_ms());
title = GetActiveTabTitle();
if (title == L"SUCCESS") {
// Success, bail out.