Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / first_run / upgrade_util_linux.cc
index 3a10031..4fbe33b 100644 (file)
@@ -23,7 +23,10 @@ double saved_last_modified_time_of_exe = 0;
 namespace upgrade_util {
 
 bool RelaunchChromeBrowser(const CommandLine& command_line) {
-  return base::LaunchProcess(command_line, base::LaunchOptions(), NULL);
+  base::LaunchOptions options;
+  // Don't set NO_NEW_PRIVS on the relaunched browser process.
+  options.allow_new_privs = true;
+  return base::LaunchProcess(command_line, options, NULL);
 }
 
 bool IsUpdatePendingRestart() {