| Index: base/test/test_file_util_posix.cc
|
| diff --git a/base/test/test_file_util_posix.cc b/base/test/test_file_util_posix.cc
|
| index 6be1c82e39d27a6f0d07f1e9eef3504d433253af..5be963ec119112efa22f37cb48c01334e071470d 100644
|
| --- a/base/test/test_file_util_posix.cc
|
| +++ b/base/test/test_file_util_posix.cc
|
| @@ -90,11 +90,12 @@ bool CopyRecursiveDirNoCache(const base::FilePath& source_dir,
|
| // This function does not properly handle destinations within the source
|
| base::FilePath real_to_path = dest_dir;
|
| if (PathExists(real_to_path)) {
|
| - if (!AbsolutePath(&real_to_path))
|
| + real_to_path = MakeAbsoluteFilePath(real_to_path);
|
| + if (real_to_path.empty())
|
| return false;
|
| } else {
|
| - real_to_path = real_to_path.DirName();
|
| - if (!AbsolutePath(&real_to_path))
|
| + real_to_path = MakeAbsoluteFilePath(real_to_path.DirName());
|
| + if (real_to_path.empty())
|
| return false;
|
| }
|
| if (real_to_path.value().compare(0, source_dir.value().size(),
|
|
|