| Index: chrome/browser/download/download_uitest.cc
|
| diff --git a/chrome/browser/download/download_uitest.cc b/chrome/browser/download/download_uitest.cc
|
| index 71a23293b83ddd1a166f7b930f78ff117e78189e..39e1ac22452c9f9cd959844a0fc24187d9d29227 100644
|
| --- a/chrome/browser/download/download_uitest.cc
|
| +++ b/chrome/browser/download/download_uitest.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/path_service.h"
|
| #include "base/string_util.h"
|
| #include "base/test/test_file_util.h"
|
| +#include "base/test/test_timeouts.h"
|
| #include "base/threading/platform_thread.h"
|
| #include "build/build_config.h"
|
| #include "chrome/app/chrome_command_ids.h"
|
| @@ -153,7 +154,7 @@ TEST_F(DownloadTest, FLAKY_NoDownload) {
|
| WaitUntilTabCount(1);
|
|
|
| // Wait to see if the file will be downloaded.
|
| - base::PlatformThread::Sleep(sleep_timeout_ms());
|
| + base::PlatformThread::Sleep(TestTimeouts::action_timeout_ms());
|
|
|
| EXPECT_FALSE(file_util::PathExists(file_path));
|
| if (file_util::PathExists(file_path))
|
|
|