From 805cf792b8ecdf9edb5db72f99c53170ce2707f9 Mon Sep 17 00:00:00 2001 From: rvargas Date: Mon, 12 Jan 2015 12:14:38 -0800 Subject: [PATCH] Update chrome/browser/first_run to use the new version of LaunchProcess. BUG=417532 Review URL: https://codereview.chromium.org/804063005 Cr-Commit-Position: refs/heads/master@{#311095} --- chrome/browser/first_run/upgrade_util_linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/browser/first_run/upgrade_util_linux.cc b/chrome/browser/first_run/upgrade_util_linux.cc index 25d959743822..65e4f9528571 100644 --- a/chrome/browser/first_run/upgrade_util_linux.cc +++ b/chrome/browser/first_run/upgrade_util_linux.cc @@ -25,7 +25,7 @@ bool RelaunchChromeBrowser(const base::CommandLine& command_line) { 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); + return base::LaunchProcess(command_line, options).IsValid(); } bool IsUpdatePendingRestart() { -- 2.11.4.GIT