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

Unified Diff: chrome_frame/test/reliability/page_load_test.cc

Issue 13196006: Move path functions from file_util to FilePath object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git try Created 7 years, 8 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: chrome_frame/test/reliability/page_load_test.cc
diff --git a/chrome_frame/test/reliability/page_load_test.cc b/chrome_frame/test/reliability/page_load_test.cc
index 4d67392d68fefb07981e456454cda13d9ba30c66..59212a607c4c2a84b9a4634f8ab61a37d2ee7b8b 100644
--- a/chrome_frame/test/reliability/page_load_test.cc
+++ b/chrome_frame/test/reliability/page_load_test.cc
@@ -587,9 +587,8 @@ void SetPageRange(const CommandLine& parsed_command_line) {
CommandLine v8_command_line(
parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags));
if (v8_command_line.HasSwitch(kV8LogFileSwitch)) {
- g_v8_log_path = v8_command_line.GetSwitchValuePath(kV8LogFileSwitch);
- if (!file_util::AbsolutePath(&g_v8_log_path))
- g_v8_log_path = base::FilePath();
+ g_v8_log_path = base::MakeAbsoluteFilePath(
+ v8_command_line.GetSwitchValuePath(kV8LogFileSwitch));
}
}
}

Powered by Google App Engine
This is Rietveld 408576698