Index: chrome/browser/extensions/extension_browsertest.cc |
diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc |
index 71c9706a7e7b6436fcf7a24ecb636fad76ed3505..dedcf8f6d2d88bc60a65b1707da5a6a5387328eb 100644 |
--- a/chrome/browser/extensions/extension_browsertest.cc |
+++ b/chrome/browser/extensions/extension_browsertest.cc |
@@ -53,9 +53,9 @@ void ExtensionBrowserTest::SetUpCommandLine(CommandLine* command_line) { |
// This makes sure that we create the Default profile first, with no |
// ExtensionsService and then the real profile with one, as we do when |
// running on chromeos. |
- command_line->AppendSwitchWithValue( |
- switches::kLoginUser, "TestUser@gmail.com"); |
- command_line->AppendSwitchWithValue(switches::kLoginProfile, "user"); |
+ command_line->AppendSwitchASCII(switches::kLoginUser, |
+ "TestUser@gmail.com"); |
+ command_line->AppendSwitchASCII(switches::kLoginProfile, "user"); |
command_line->AppendSwitch(switches::kNoFirstRun); |
#endif |
} |