| Index: chrome/installer/util/copy_tree_work_item_unittest.cc
|
| diff --git a/chrome/installer/util/copy_tree_work_item_unittest.cc b/chrome/installer/util/copy_tree_work_item_unittest.cc
|
| index 55df83be393df56070b3dd5535f7a0ca5d3cbf50..88cfc0680005b05d2ae1f51c1ce8d76f57c7c10d 100644
|
| --- a/chrome/installer/util/copy_tree_work_item_unittest.cc
|
| +++ b/chrome/installer/util/copy_tree_work_item_unittest.cc
|
| @@ -472,7 +472,7 @@ TEST_F(CopyTreeWorkItemTest, NewNameAndCopyTest) {
|
| temp_dir_.path(), WorkItem::NEW_NAME_IF_IN_USE,
|
| alternate_to));
|
| if (IsFileInUse(file_name_to))
|
| - base::PlatformThread::Sleep(2000);
|
| + base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(2));
|
| // If file is still in use, the rest of the test will fail.
|
| ASSERT_FALSE(IsFileInUse(file_name_to));
|
| EXPECT_TRUE(work_item->Do());
|
|
|