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

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: Move AsAbsolute back out of FilePath 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
« chrome/browser/platform_util_win.cc ('K') | « webkit/support/webkit_support.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..081bd5b938a300b5bdd869be3a5e2db065f774bf 100644
--- a/webkit/tools/test_shell/test_shell_main.cc
+++ b/webkit/tools/test_shell/test_shell_main.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+/)/ Copyright (c) 2012 The Chromium Authors. All rights reserved.
rvargas (doing something else) 2013/04/02 01:39:56 typo
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -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);
}
}
« chrome/browser/platform_util_win.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