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

Unified Diff: tools/gn/setup.cc

Issue 177923007: Move AppendFile and *CurrentDirectory to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « tools/gn/function_exec_script.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/setup.cc
diff --git a/tools/gn/setup.cc b/tools/gn/setup.cc
index 0c969abc15a509a74f61bed74b258f0e4a9a96b2..759b40a4d64f600d89d5ac21ae0206a18f3eddcc 100644
--- a/tools/gn/setup.cc
+++ b/tools/gn/setup.cc
@@ -274,7 +274,7 @@ bool Setup::FillSourceDir(const CommandLine& cmdline) {
dotfile_name_ = root_path.Append(kGnFile);
} else {
base::FilePath cur_dir;
- file_util::GetCurrentDirectory(&cur_dir);
+ base::GetCurrentDirectory(&cur_dir);
dotfile_name_ = FindDotFile(cur_dir);
if (dotfile_name_.empty()) {
Err(Location(), "Can't find source root.",
« no previous file with comments | « tools/gn/function_exec_script.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698