summaryrefslogtreecommitdiffstats
path: root/chrome/browser/crash_recovery_uitest.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 18:56:16 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 18:56:16 +0000
commit72eb68c9482f4dcdd397e5744bcb046b514e224c (patch)
tree083c57b51daa703772ada68ed65a19e616a59e4a /chrome/browser/crash_recovery_uitest.cc
parentf5b3bda9fea3606111ed4e1b7cb36df44e8448b7 (diff)
downloadchromium_src-72eb68c9482f4dcdd397e5744bcb046b514e224c.zip
chromium_src-72eb68c9482f4dcdd397e5744bcb046b514e224c.tar.gz
chromium_src-72eb68c9482f4dcdd397e5744bcb046b514e224c.tar.bz2
back out r13442
TBR=pinkerton git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13443 0039d316-1c4b-4281-b951-d872f2087c98
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));