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

Unified Diff: webkit/tools/test_shell/test_shell_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: webkit/tools/test_shell/test_shell_main.cc
diff --git a/webkit/tools/test_shell/test_shell_main.cc b/webkit/tools/test_shell/test_shell_main.cc
index 40ca29d1f58c2aed6d47910a0626a0c945fa31c3..763d949c5318d2cbf3cca1818ca6d35bea3928cc 100644
--- a/webkit/tools/test_shell/test_shell_main.cc
+++ b/webkit/tools/test_shell/test_shell_main.cc
@@ -227,8 +227,7 @@ int main(int argc, char* argv[]) {
starting_url = url;
} else {
// Treat as a relative file path.
- base::FilePath path = base::FilePath(args[0]);
- file_util::AbsolutePath(&path);
+ base::FilePath path = base::MakeAbsoluteFilePath(base::FilePath(args[0]));
starting_url = net::FilePathToFileURL(path);
}
}
« webkit/plugins/npapi/plugin_list_posix.cc ('K') | « webkit/support/webkit_support.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698