| Index: chrome/browser/web_applications/web_app_mac.mm
|
| diff --git a/chrome/browser/web_applications/web_app_mac.mm b/chrome/browser/web_applications/web_app_mac.mm
|
| index 4288a2b50bd8bd52241660b9bfae9e242c61bc66..710a6259e02d1ca6aa8479ed03c3fca6bfb5ad72 100644
|
| --- a/chrome/browser/web_applications/web_app_mac.mm
|
| +++ b/chrome/browser/web_applications/web_app_mac.mm
|
| @@ -15,7 +15,7 @@
|
| #include "base/files/file_util.h"
|
| #include "base/files/scoped_temp_dir.h"
|
| #include "base/mac/foundation_util.h"
|
| -#include "base/mac/launch_services_util.h"
|
| +#import "base/mac/launch_services_util.h"
|
| #include "base/mac/mac_util.h"
|
| #include "base/mac/scoped_cftyperef.h"
|
| #include "base/mac/scoped_nsobject.h"
|
| @@ -277,9 +277,10 @@ void LaunchShimOnFileThread(
|
| base::IntToString(base::GetCurrentProcId()));
|
| if (launched_after_rebuild)
|
| command_line.AppendSwitch(app_mode::kLaunchedAfterRebuild);
|
| - // Launch without activating (kLSLaunchDontSwitch).
|
| + // Launch without activating (NSWorkspaceLaunchWithoutActivation).
|
| base::mac::OpenApplicationWithPath(
|
| - shim_path, command_line, kLSLaunchDefaults | kLSLaunchDontSwitch, NULL);
|
| + shim_path, command_line,
|
| + NSWorkspaceLaunchDefault | NSWorkspaceLaunchWithoutActivation);
|
| }
|
|
|
| base::FilePath GetAppLoaderPath() {
|
|
|