Commit 8cb0ee3c authored by Robert Woods's avatar Robert Woods Committed by Commit Bot

WebApps: Remove redundant call to SetLaunchPaths.

https://chromium-review.googlesource.com/1961291 introduced a redundant
call to WebLaunchFilesHelper::SetLaunchPaths in
WebAppLaunchManager::OpenApplication. This CL removes it.

Bug: 829689
Change-Id: If6c01e745d1e52dafb4e12fce2e38dff30b4f972
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1984792
Commit-Queue: Robert Woods <robertwoods@google.com>
Reviewed-by: default avatarAlexey Baskakov <loyso@chromium.org>
Cr-Commit-Position: refs/heads/master@{#727936}
parent c65c7841
......@@ -139,11 +139,6 @@ content::WebContents* WebAppLaunchManager::OpenApplication(
// event and will potentially permit a banner to be shown for the site.
RecordAppBanner(web_contents, url);
if (base::FeatureList::IsEnabled(blink::features::kFileHandlingAPI)) {
web_launch::WebLaunchFilesHelper::SetLaunchPaths(web_contents, url,
params.launch_files);
}
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