| Index: chrome/browser/chromeos/policy/device_local_account_browsertest.cc
|
| diff --git a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
|
| index 05f40a1fe7c1a499ed4cd2adfaffee3a4a937463..3901c6d4682b64b048399e3555b07842a94e9e7b 100644
|
| --- a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
|
| +++ b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
|
| @@ -431,7 +431,7 @@ class DeviceLocalAccountTest : public DevicePolicyCrosBrowserTest,
|
| DevicePolicyCrosBrowserTest::SetUp();
|
| }
|
|
|
| - virtual void SetUpCommandLine(CommandLine* command_line) override {
|
| + virtual void SetUpCommandLine(base::CommandLine* command_line) override {
|
| DevicePolicyCrosBrowserTest::SetUpCommandLine(command_line);
|
| command_line->AppendSwitch(chromeos::switches::kLoginManager);
|
| command_line->AppendSwitch(chromeos::switches::kForceLoginManagerInTests);
|
| @@ -445,8 +445,8 @@ class DeviceLocalAccountTest : public DevicePolicyCrosBrowserTest,
|
|
|
| // Clear command-line arguments (but keep command-line switches) so the
|
| // startup pages policy takes effect.
|
| - CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| - CommandLine::StringVector argv(command_line->argv());
|
| + base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
| + base::CommandLine::StringVector argv(command_line->argv());
|
| argv.erase(argv.begin() + argv.size() - command_line->GetArgs().size(),
|
| argv.end());
|
| command_line->InitFromArgv(argv);
|
|
|