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

Unified Diff: chrome/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: Created 7 years, 9 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/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();
}
}
}

Powered by Google App Engine
This is Rietveld 408576698