summaryrefslogtreecommitdiffstats
path: root/chrome/browser/crash_recovery_uitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/crash_recovery_uitest.cc')
-rw-r--r--chrome/browser/crash_recovery_uitest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/crash_recovery_uitest.cc b/chrome/browser/crash_recovery_uitest.cc
index e533b09..bbd577a 100644
--- a/chrome/browser/crash_recovery_uitest.cc
+++ b/chrome/browser/crash_recovery_uitest.cc
@@ -4,7 +4,6 @@
#include "base/file_path.h"
#include "base/file_util.h"
-#include "base/platform_thread.h"
#include "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automation/tab_proxy.h"
#include "chrome/test/ui/ui_test.h"
@@ -34,7 +33,7 @@ TEST_F(CrashRecoveryUITest, Reload) {
expected_crashes_ = 1;
tab->NavigateToURLAsync(GURL("about:crash"));
- PlatformThread::Sleep(1000); // Wait for the browser to notice the renderer crash.
+ Sleep(1000); // Wait for the browser to notice the renderer crash.
tab->Reload();
@@ -67,7 +66,7 @@ TEST_F(CrashRecoveryUITest, LoadInNewTab) {
expected_crashes_ = 1;
tab->NavigateToURLAsync(GURL("about:crash"));
- PlatformThread::Sleep(1000); // Wait for the browser to notice the renderer crash.
+ Sleep(1000); // Wait for the browser to notice the renderer crash.
scoped_ptr<BrowserProxy> browser_proxy(automation()->GetBrowserWindow(0));
ASSERT_TRUE(browser_proxy->AppendTab(url));