| Index: chrome/test/automation/automation_proxy_uitest.cc
|
| diff --git a/chrome/test/automation/automation_proxy_uitest.cc b/chrome/test/automation/automation_proxy_uitest.cc
|
| index ab65c43b7a2d32cfff439e37f0509abe27efb8dc..60830e038184151a5461bd8a0415b94f6dcfc369 100644
|
| --- a/chrome/test/automation/automation_proxy_uitest.cc
|
| +++ b/chrome/test/automation/automation_proxy_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.
|
|
|
| @@ -16,6 +16,7 @@
|
| #include "base/string_util.h"
|
| #include "base/stringprintf.h"
|
| #include "base/sys_info.h"
|
| +#include "base/test/test_timeouts.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "build/build_config.h"
|
| #include "chrome/app/chrome_command_ids.h"
|
| @@ -1561,7 +1562,7 @@ TEST_F(AutomationProxyTest5, TestLifetimeOfDomAutomationController) {
|
| tab->NavigateToURL(net::FilePathToFileURL(filename)));
|
|
|
| // Allow some time for the popup to show up and close.
|
| - base::PlatformThread::Sleep(sleep_timeout_ms());
|
| + base::PlatformThread::Sleep(TestTimeouts::action_timeout_ms());
|
|
|
| std::wstring expected(L"string");
|
| std::wstring jscript = CreateJSString(L"\"" + expected + L"\"");
|
|
|