Index: chrome/test/ui/dom_checker_uitest.cc |
diff --git a/chrome/test/ui/dom_checker_uitest.cc b/chrome/test/ui/dom_checker_uitest.cc |
index f29995828d012195abdbf8fc2a07079010f5ef44..458b847375ad2534c18b2cec9d6499bc87d01bd2 100644 |
--- a/chrome/test/ui/dom_checker_uitest.cc |
+++ b/chrome/test/ui/dom_checker_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/scoped_ptr.h" |
#include "base/string_split.h" |
#include "base/string_util.h" |
+#include "base/test/test_timeouts.h" |
#include "base/utf_string_conversions.h" |
#include "base/values.h" |
#include "chrome/common/chrome_paths.h" |
@@ -144,7 +145,7 @@ class DomCheckerTest : public UITest { |
bool WaitUntilTestCompletes(TabProxy* tab) { |
return WaitUntilJavaScriptCondition(tab, L"", |
L"window.domAutomationController.send(automation.IsDone());", |
- UITest::test_timeout_ms()); |
+ TestTimeouts::huge_test_timeout_ms()); |
} |
bool GetTestCount(TabProxy* tab, int* test_count) { |