| Index: chrome/browser/errorpage_uitest.cc
|
| diff --git a/chrome/browser/errorpage_uitest.cc b/chrome/browser/errorpage_uitest.cc
|
| index 51b9754bc5ee1a9a63c33cb13aefa6eca740499b..7f1008317734626b2052069c120893e0356149eb 100644
|
| --- a/chrome/browser/errorpage_uitest.cc
|
| +++ b/chrome/browser/errorpage_uitest.cc
|
| @@ -1,8 +1,9 @@
|
| -// 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.
|
|
|
| #include "base/string_util.h"
|
| +#include "base/test/test_timeouts.h"
|
| #include "base/threading/platform_thread.h"
|
| #include "chrome/test/automation/tab_proxy.h"
|
| #include "chrome/test/ui/ui_test.h"
|
| @@ -16,7 +17,7 @@ class ErrorPageTest : public UITest {
|
| for (int i = 0; i < 10; ++i) {
|
| if (GetActiveTabTitle() == title)
|
| return true;
|
| - base::PlatformThread::Sleep(sleep_timeout_ms());
|
| + base::PlatformThread::Sleep(TestTimeouts::action_timeout_ms());
|
| }
|
| EXPECT_EQ(title, GetActiveTabTitle());
|
| return false;
|
|
|