| Index: chrome/browser/crash_recovery_uitest.cc
|
| ===================================================================
|
| --- chrome/browser/crash_recovery_uitest.cc (revision 13127)
|
| +++ chrome/browser/crash_recovery_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.
|
|
|
| @@ -32,7 +32,8 @@
|
| expected_crashes_ = 1;
|
| tab->NavigateToURLAsync(GURL("about:crash"));
|
|
|
| - Sleep(1000); // Wait for the browser to notice the renderer crash.
|
| + // Wait for the browser to notice the renderer crash.
|
| + PlatformThread::Sleep(1000);
|
|
|
| tab->Reload();
|
|
|
| @@ -65,7 +66,8 @@
|
| expected_crashes_ = 1;
|
| tab->NavigateToURLAsync(GURL("about:crash"));
|
|
|
| - Sleep(1000); // Wait for the browser to notice the renderer crash.
|
| + // Wait for the browser to notice the renderer crash.
|
| + PlatformThread::Sleep(1000);
|
|
|
| scoped_ptr<BrowserProxy> browser_proxy(automation()->GetBrowserWindow(0));
|
| ASSERT_TRUE(browser_proxy->AppendTab(url));
|
|
|