Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(665)

Unified Diff: base/test_file_util_posix.cc

Issue 113229: Add new tab startup test to the linux & mac build. (Closed)
Patch Set: make the test actually run Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/test_file_util_posix.cc
diff --git a/base/test_file_util_posix.cc b/base/test_file_util_posix.cc
index 38aaae2b5036465eb6894f6fe8e8bd47812ff6b8..ce36091cbebeb03fd43f81bd72c8ef09e0bedd47 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;
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('j') | chrome/browser/automation/automation_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698