Index: chrome/browser/errorpage_uitest.cc |
=================================================================== |
--- chrome/browser/errorpage_uitest.cc (revision 13127) |
+++ chrome/browser/errorpage_uitest.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. |
@@ -20,7 +20,7 @@ |
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 @@ |
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. |