summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvargas <rvargas@chromium.org>2015-01-12 12:14:38 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-12 20:16:46 +0000
commit805cf792b8ecdf9edb5db72f99c53170ce2707f9 (patch)
treef02fb234534cde85a2da3e56cacfd1138decc431
parent966e2c1cd38694c28ba9d56367ea8a67a05fc071 (diff)
downloadchromium_src-805cf792b8ecdf9edb5db72f99c53170ce2707f9.zip
chromium_src-805cf792b8ecdf9edb5db72f99c53170ce2707f9.tar.gz
chromium_src-805cf792b8ecdf9edb5db72f99c53170ce2707f9.tar.bz2
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}
-rw-r--r--chrome/browser/first_run/upgrade_util_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/first_run/upgrade_util_linux.cc b/chrome/browser/first_run/upgrade_util_linux.cc
index 25d9597..65e4f95 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() {