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..7a939151a36dd16716cf83a9ded318ca5ca95dd5 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 = |
+ v8_command_line.GetSwitchValuePath(kV8LogFileSwitch).AsAbsolute(); |
} |
} |
} |