diff options
Diffstat (limited to 'chrome/installer/setup/setup_util_unittest.cc')
-rw-r--r-- | chrome/installer/setup/setup_util_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/setup/setup_util_unittest.cc b/chrome/installer/setup/setup_util_unittest.cc index 61d3f15..637c09b 100644 --- a/chrome/installer/setup/setup_util_unittest.cc +++ b/chrome/installer/setup/setup_util_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. @@ -147,6 +147,6 @@ TEST_F(SetupUtilTest, DeleteFileFromTempProcess) { ASSERT_TRUE(file_util::PathExists(test_file)); file_util::WriteFile(test_file, "foo", 3); EXPECT_TRUE(installer::DeleteFileFromTempProcess(test_file, 0)); - base::PlatformThread::Sleep(200); + base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(200)); EXPECT_FALSE(file_util::PathExists(test_file)); } |