Index: chrome/test/reliability/page_load_test.cc |
diff --git a/chrome/test/reliability/page_load_test.cc b/chrome/test/reliability/page_load_test.cc |
index 9e6cf7f22302fe4014975b44578a07a75517e2ea..ecc16e89a95c2dea0d9a6c4ca1f80ed8106b3b69 100644 |
--- a/chrome/test/reliability/page_load_test.cc |
+++ b/chrome/test/reliability/page_load_test.cc |
@@ -219,9 +219,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(); |
} |
} |
} |