Commit 28a1b776 authored by Robert Woods's avatar Robert Woods Committed by Commit Bot

WebApps: Remove (another) redundant call to SetLaunchPaths.

Following from https://chromium-review.googlesource.com/1984792, this CL
removes a further redundant call to WebLaunchFilesHelper::SetLaunchPaths,
this time in OpenApplicationWindow.

Bug: 1007621
Change-Id: I79732f93499b209fce42db9a758969bc8b8d8c7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2003159Reviewed-by: default avatarMichael Wasserman <msw@chromium.org>
Commit-Queue: Robert Woods <robertwoods@google.com>
Cr-Commit-Position: refs/heads/master@{#732602}
parent eccc68fb
...@@ -461,11 +461,6 @@ WebContents* OpenApplicationWindow(Profile* profile, ...@@ -461,11 +461,6 @@ WebContents* OpenApplicationWindow(Profile* profile,
WebContents* web_contents = NavigateApplicationWindow( WebContents* web_contents = NavigateApplicationWindow(
browser, params, url, WindowOpenDisposition::NEW_FOREGROUND_TAB); browser, params, url, WindowOpenDisposition::NEW_FOREGROUND_TAB);
if (base::FeatureList::IsEnabled(blink::features::kFileHandlingAPI)) {
web_launch::WebLaunchFilesHelper::SetLaunchPaths(
web_contents, web_contents->GetURL(), params.launch_files);
}
browser->window()->Show(); browser->window()->Show();
return web_contents; return web_contents;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment