Index: chrome/installer/util/shell_util.cc |
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc |
index 2ed7b5a352b093bb46529077352d1aa0f783f734..f1ca375fae38baa06716b83c74c38b002e879492 100644 |
--- a/chrome/installer/util/shell_util.cc |
+++ b/chrome/installer/util/shell_util.cc |
@@ -710,6 +710,7 @@ bool ElevateAndRegisterChrome(BrowserDistribution* dist, |
if (base::PathExists(exe_path)) { |
base::CommandLine cmd(exe_path); |
+ InstallUtil::AppendModeSwitch(&cmd); |
if (!is_per_user) |
cmd.AppendSwitch(installer::switches::kSystemLevel); |
cmd.AppendSwitchPath(installer::switches::kRegisterChromeBrowser, |