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

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: 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: content/shell/shell_browser_main.cc
diff --git a/content/shell/shell_browser_main.cc b/content/shell/shell_browser_main.cc
index 2ef3ab1ed10b80617d8d3ff4e233ea726d856d80..b76cbf1e699aa0ec007b8efac9a1b2f3d45f7089 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(local_file.AsAbsolute());
}
base::FilePath local_path;
if (current_working_directory) {

Powered by Google App Engine
This is Rietveld 408576698