| Index: tools/gn/command_gen.cc
|
| diff --git a/tools/gn/command_gen.cc b/tools/gn/command_gen.cc
|
| index b90b206173f316e42c80a556c3488d63256922f1..cacab8498cacad86a13f9c5d9f58b1be8418525d 100644
|
| --- a/tools/gn/command_gen.cc
|
| +++ b/tools/gn/command_gen.cc
|
| @@ -78,7 +78,7 @@ int RunGen(const std::vector<std::string>& args) {
|
| if (!setup->DoSetup(args[0], true))
|
| return 1;
|
|
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(kSwitchCheck))
|
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(kSwitchCheck))
|
| setup->set_check_public_headers(true);
|
|
|
| // Cause the load to also generate the ninja files for each target. We wrap
|
| @@ -103,7 +103,7 @@ int RunGen(const std::vector<std::string>& args) {
|
|
|
| base::TimeDelta elapsed_time = timer.Elapsed();
|
|
|
| - if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kQuiet)) {
|
| + if (!base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kQuiet)) {
|
| OutputString("Done. ", DECORATION_GREEN);
|
|
|
| std::string stats = "Wrote " +
|
|
|