summaryrefslogtreecommitdiffstats
path: root/base/test_file_util_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/test_file_util_posix.cc')
-rw-r--r--base/test_file_util_posix.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/test_file_util_posix.cc b/base/test_file_util_posix.cc
index 38aaae2..ce36091 100644
--- a/base/test_file_util_posix.cc
+++ b/base/test_file_util_posix.cc
@@ -63,8 +63,7 @@ bool CopyRecursiveDirNoCache(const std::wstring& source_dir,
errno = 0;
FilePath source_path(ent->fts_path);
if (CopyFile(source_path, target_path)) {
- bool success = EvictFileFromSystemCache(
- target_path.Append(source_path.BaseName()));
+ bool success = EvictFileFromSystemCache(target_path);
DCHECK(success);
} else {
error = errno ? errno : EINVAL;