Index: chrome/test/ui/ui_test.cc |
=================================================================== |
--- chrome/test/ui/ui_test.cc (revision 13127) |
+++ chrome/test/ui/ui_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. |
@@ -537,7 +537,7 @@ |
return true; // Find window visibility change complete. |
// Give it a chance to catch up. |
- Sleep(sleep_timeout_ms() / kCycles); |
+ PlatformThread::Sleep(sleep_timeout_ms() / kCycles); |
} |
return false; |
} |
@@ -554,7 +554,7 @@ |
return true; // Bookmark bar visibility change complete. |
// Give it a chance to catch up. |
- Sleep(sleep_timeout_ms() / kCycles); |
+ PlatformThread::Sleep(sleep_timeout_ms() / kCycles); |
} |
return false; |
} |