Use active WebContents for SharingDialogs
Instead of using the WebContents from the tab that initiated showing a SharingDialog, always use the one from the currently shown tab. This makes sure that we show the origin if the initiating one does not match the one in the active tab. Bug: 1029414 Change-Id: Idf79aeff17db3c5cf3137af19727bdaf79989bf6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1948838 Commit-Queue: Richard Knoll <knollr@chromium.org> Reviewed-by:Michael van Ouwerkerk <mvanouwerkerk@chromium.org> Cr-Commit-Position: refs/heads/master@{#721409}
Showing
Please register or sign in to comment