summaryrefslogtreecommitdiffstats
path: root/chrome/browser/first_run/first_run_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/first_run/first_run_win.cc')
-rw-r--r--chrome/browser/first_run/first_run_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/first_run/first_run_win.cc b/chrome/browser/first_run/first_run_win.cc
index d38636f..06d4a3c 100644
--- a/chrome/browser/first_run/first_run_win.cc
+++ b/chrome/browser/first_run/first_run_win.cc
@@ -274,8 +274,8 @@ bool FirstRun::ProcessMasterPreferences(const FilePath& user_data_dir,
FilePath inner_html;
if (WriteEULAtoTempFile(&inner_html)) {
int retcode = 0;
- const std::string eula = WideToASCII(installer_util::switches::kShowEula);
- if (!LaunchSetupWithParam(eula, inner_html.ToWStringHack(), &retcode) ||
+ if (!LaunchSetupWithParam(installer_util::switches::kShowEula,
+ inner_html.ToWStringHack(), &retcode) ||
(retcode == installer_util::EULA_REJECTED)) {
LOG(WARNING) << "EULA rejected. Fast exit.";
::ExitProcess(1);