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

Unified Diff: content/shell/shell_browser_main.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: content/shell/shell_browser_main.cc
diff --git a/content/shell/shell_browser_main.cc b/content/shell/shell_browser_main.cc
index 2ef3ab1ed10b80617d8d3ff4e233ea726d856d80..eab4875389af032e45e70910a9e328966313f1f9 100644
--- a/content/shell/shell_browser_main.cc
+++ b/content/shell/shell_browser_main.cc
@@ -60,8 +60,7 @@ GURL GetURLForLayoutTest(const std::string& test_name,
#else
base::FilePath local_file(path_or_url);
#endif
- file_util::AbsolutePath(&local_file);
- test_url = net::FilePathToFileURL(local_file);
+ test_url = net::FilePathToFileURL(base::MakeAbsoluteFilePath(local_file));
}
base::FilePath local_path;
if (current_working_directory) {

Powered by Google App Engine
This is Rietveld 408576698