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

Unified Diff: content/public/test/test_launcher.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/public/test/test_launcher.cc
diff --git a/content/public/test/test_launcher.cc b/content/public/test/test_launcher.cc
index f4635ec5e0b04c1bd8eb3bbe85bb8ec43bb8aaa1..1d806055d171c86da8fb7b05f586219ca6e03dc2 100644
--- a/content/public/test/test_launcher.cc
+++ b/content/public/test/test_launcher.cc
@@ -175,7 +175,7 @@ ResultsPrinter::ResultsPrinter(const CommandLine& command_line) : out_(NULL) {
// If the given path ends with '/', consider it is a directory.
// Note: This does NOT check that a directory (or file) actually exists
// (the behavior is same as what gtest does).
- if (file_util::EndsWithSeparator(path)) {
+ if (path.EndsWithSeparator()) {
base::FilePath executable = command_line.GetProgram().BaseName();
path = path.Append(executable.ReplaceExtension(
base::FilePath::StringType(FILE_PATH_LITERAL("xml"))));

Powered by Google App Engine
This is Rietveld 408576698