| Index: chrome/browser/renderer_host/resource_dispatcher_host_uitest.cc
|
| diff --git a/chrome/browser/renderer_host/resource_dispatcher_host_uitest.cc b/chrome/browser/renderer_host/resource_dispatcher_host_uitest.cc
|
| index 6cd68222ebe7d2bf5c67b619b520a47fba6f12e9..5271595c4eeb5be88fd4f82faa171e4feeaeb028 100644
|
| --- a/chrome/browser/renderer_host/resource_dispatcher_host_uitest.cc
|
| +++ b/chrome/browser/renderer_host/resource_dispatcher_host_uitest.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 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.
|
|
|
| @@ -9,6 +9,7 @@
|
| #include "base/file_path.h"
|
| #include "base/path_service.h"
|
| #include "base/string_util.h"
|
| +#include "base/test/test_timeouts.h"
|
| #include "chrome/browser/net/url_request_failed_dns_job.h"
|
| #include "chrome/browser/net/url_request_mock_http_job.h"
|
| #include "chrome/common/url_constants.h"
|
| @@ -215,7 +216,7 @@ TEST_F(ResourceDispatcherTest, CrossSiteAfterCrash) {
|
| #endif
|
| ASSERT_TRUE(tab->NavigateToURLAsync(GURL(chrome::kAboutCrashURL)));
|
| // Wait for browser to notice the renderer crash.
|
| - base::PlatformThread::Sleep(sleep_timeout_ms());
|
| + base::PlatformThread::Sleep(TestTimeouts::action_timeout_ms());
|
|
|
| // Navigate to a new cross-site page. The browser should not wait around for
|
| // the old renderer's on{before}unload handlers to run.
|
|
|