| Index: chrome/browser/about_flags_unittest.cc
|
| diff --git a/chrome/browser/about_flags_unittest.cc b/chrome/browser/about_flags_unittest.cc
|
| index a18f10f39d019361a7f48ab49c547574eca17e18..6dc5c47711407f6a3fcd50ebb70ec235e47a0839 100644
|
| --- a/chrome/browser/about_flags_unittest.cc
|
| +++ b/chrome/browser/about_flags_unittest.cc
|
| @@ -93,7 +93,7 @@ TEST_F(AboutFlagsTest, ConvertFlagsToSwitches) {
|
|
|
| SetExperimentEnabled(&prefs_, kFlags1, true);
|
|
|
| - CommandLine command_line(CommandLine::ARGUMENTS_ONLY);
|
| + CommandLine command_line(CommandLine::NO_PROGRAM);
|
| command_line.AppendSwitch("foo");
|
|
|
| EXPECT_TRUE(command_line.HasSwitch("foo"));
|
| @@ -128,7 +128,7 @@ TEST_F(AboutFlagsTest, RemoveFlagSwitches) {
|
| EXPECT_TRUE(switch_list.find("foo") != switch_list.end());
|
|
|
| // Call ConvertFlagsToSwitches(), then RemoveFlagsSwitches() again.
|
| - CommandLine command_line(CommandLine::ARGUMENTS_ONLY);
|
| + CommandLine command_line(CommandLine::NO_PROGRAM);
|
| command_line.AppendSwitch("foo");
|
| ConvertFlagsToSwitches(&prefs_, &command_line);
|
| RemoveFlagsSwitches(&switch_list);
|
|
|