diff options
Diffstat (limited to 'chrome/browser/printing/printing_layout_uitest.cc')
-rw-r--r-- | chrome/browser/printing/printing_layout_uitest.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/printing/printing_layout_uitest.cc b/chrome/browser/printing/printing_layout_uitest.cc index c841309..3890df2 100644 --- a/chrome/browser/printing/printing_layout_uitest.cc +++ b/chrome/browser/printing/printing_layout_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. @@ -300,7 +300,7 @@ class PrintingLayoutTest : public PrintingTest<UITest> { if (file_util::Delete(emf_path(), true)) { break; } - Sleep(100); + PlatformThread::Sleep(100); } file_util::CreateDirectory(emf_path()); } @@ -358,7 +358,7 @@ class PrintingLayoutTest : public PrintingTest<UITest> { } if (found_emf && found_prn) break; - Sleep(100); + PlatformThread::Sleep(100); } EXPECT_TRUE(found_emf) << ".PRN file is: " << prn_file; EXPECT_TRUE(found_prn) << ".EMF file is: " << emf_file; @@ -450,13 +450,13 @@ class DismissTheWindow : public base::DelegateSimpleThread::Delegate { break; } } - Sleep(10); + PlatformThread::Sleep(10); } // Now verify that it indeed closed itself. while (IsWindow(dialog_window)) { CloseDialogWindow(dialog_window); - Sleep(10); + PlatformThread::Sleep(10); } } |