Index: tools/android/md5sum/md5sum.cc |
diff --git a/tools/android/md5sum/md5sum.cc b/tools/android/md5sum/md5sum.cc |
index a044f0e2d1df2d6432b26524e1ba5d0e5416bfe4..ceee7d51646d4720c58d150120fc28c067e3f4b6 100644 |
--- a/tools/android/md5sum/md5sum.cc |
+++ b/tools/android/md5sum/md5sum.cc |
@@ -59,7 +59,7 @@ std::set<std::string> MakeFileSet(const char** files) { |
(child = file_enumerator.Next()) != empty; ) { |
// If the path contains /.svn/, ignore it. |
if (child.value().find(svn_dir_component) == std::string::npos) { |
- file_util::AbsolutePath(&child); |
+ child = base::MakeAbsoluteFilePath(child); |
file_set.insert(child.value()); |
} |
} |
@@ -85,8 +85,8 @@ int main(int argc, const char* argv[]) { |
if (!MD5Sum(it->c_str(), &digest)) |
failed = true; |
base::FilePath file_path(*it); |
- file_util::AbsolutePath(&file_path); |
- std::cout << digest << " " << file_path.value() << std::endl; |
+ std::cout << digest << " " |
+ << base::MakeAbsoluteFilePath(file_path).value() << std::endl; |
} |
return failed; |
} |