summaryrefslogtreecommitdiffstats
path: root/chrome/app_shim
diff options
context:
space:
mode:
authorrvargas <rvargas@chromium.org>2015-01-12 12:03:16 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-12 20:03:56 +0000
commit4220e9d120bf34bf5a8fbe84f4ce3b808ce585cd (patch)
treedafd476f3bebf92a6d28c1f5a5a0381f12a583a4 /chrome/app_shim
parentf4bda22de601cbc957605695e9765c47d9a18ca8 (diff)
downloadchromium_src-4220e9d120bf34bf5a8fbe84f4ce3b808ce585cd.zip
chromium_src-4220e9d120bf34bf5a8fbe84f4ce3b808ce585cd.tar.gz
chromium_src-4220e9d120bf34bf5a8fbe84f4ce3b808ce585cd.tar.bz2
Update chrome/app_shim to use the new version of LaunchProcess.
BUG=417532 Review URL: https://codereview.chromium.org/842223005 Cr-Commit-Position: refs/heads/master@{#311093}
Diffstat (limited to 'chrome/app_shim')
-rw-r--r--chrome/app_shim/app_mode_loader_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/app_shim/app_mode_loader_mac.mm b/chrome/app_shim/app_mode_loader_mac.mm
index e164c6b..16e7f7e 100644
--- a/chrome/app_shim/app_mode_loader_mac.mm
+++ b/chrome/app_shim/app_mode_loader_mac.mm
@@ -178,7 +178,7 @@ int LoadFrameworkAndStart(app_mode::ChromeAppModeInfo* info) {
// Launch the executable directly since base::mac::OpenApplicationWithPath
// uses LSOpenApplication which doesn't pass command line arguments if the
// application is already running.
- if (!base::LaunchProcess(command_line, base::LaunchOptions(), NULL)) {
+ if (!base::LaunchProcess(command_line, base::LaunchOptions()).IsValid()) {
LOG(ERROR) << "Could not launch Chrome: "
<< command_line.GetCommandLineString();
return 1;