Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4094)

Unified Diff: chrome/browser/web_applications/web_app_mac.mm

Issue 2398853002: Remove deprecated APIs from OpenApplicationWithPath. (Closed)
Patch Set: More cleanup. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/apps/app_shim/app_shim_interactive_uitest_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2c0433b6462d7c549ac7b2d06dc00ca51c47aa4f 100644
--- a/chrome/browser/web_applications/web_app_mac.mm
+++ b/chrome/browser/web_applications/web_app_mac.mm
@@ -279,7 +279,9 @@ void LaunchShimOnFileThread(
command_line.AppendSwitch(app_mode::kLaunchedAfterRebuild);
// Launch without activating (kLSLaunchDontSwitch).
base::mac::OpenApplicationWithPath(
- shim_path, command_line, kLSLaunchDefaults | kLSLaunchDontSwitch, NULL);
+ shim_path, command_line,
+ NSWorkspaceLaunchDefault | NSWorkspaceLaunchWithoutActivation, nil,
+ nullptr);
}
base::FilePath GetAppLoaderPath() {
« no previous file with comments | « chrome/browser/apps/app_shim/app_shim_interactive_uitest_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698