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

Unified Diff: chrome/test/base/ui_test_utils.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: chrome/test/base/ui_test_utils.cc
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc
index f3b91f65925a60a25baa4a752e4d1060b92acb87..c28cd4fc57c331eb20de7f1936c75598d7c1d505 100644
--- a/chrome/test/base/ui_test_utils.cc
+++ b/chrome/test/base/ui_test_utils.cc
@@ -357,9 +357,9 @@ bool GetRelativeBuildDirectory(base::FilePath* build_dir) {
// We must first generate absolute paths to SRC and EXE and from there
// generate a relative path.
if (!exe_dir.IsAbsolute())
- file_util::AbsolutePath(&exe_dir);
+ exe_dir = exe_dir.AsAbsolute();
if (!src_dir.IsAbsolute())
- file_util::AbsolutePath(&src_dir);
+ src_dir = src_dir.AsAbsolute();
if (!exe_dir.IsAbsolute())
return false;
if (!src_dir.IsAbsolute())

Powered by Google App Engine
This is Rietveld 408576698