Index: base/mac/launch_services_util.cc |
diff --git a/base/mac/launch_services_util.cc b/base/mac/launch_services_util.cc |
index 0081500f2d99340238629bae14e30725e4164abb..dfd5dcd411202e6470637553b93e104b3c9f434b 100644 |
--- a/base/mac/launch_services_util.cc |
+++ b/base/mac/launch_services_util.cc |
@@ -16,6 +16,7 @@ namespace mac { |
bool OpenApplicationWithPath(const base::FilePath& bundle_path, |
const CommandLine& command_line, |
+ LSLaunchFlags launch_flags, |
ProcessSerialNumber* out_psn) { |
FSRef app_fsref; |
if (!base::mac::FSRefFromPath(bundle_path.value(), &app_fsref)) { |
@@ -45,7 +46,7 @@ bool OpenApplicationWithPath(const base::FilePath& bundle_path, |
LSApplicationParameters ls_parameters = { |
0, // version |
- kLSLaunchDefaults, |
+ launch_flags, |
&app_fsref, |
NULL, // asyncLaunchRefCon |
NULL, // environment |