[Payment Request][Desktop] Download manifest icon in the correct frame.
This CL plumbs RenderFrameHost into InstallablePaymentAppCrawler so it can be provided to ManifestIconDownloader to download the icon in the correct frame that initiated the PaymentRequest. The ManifestIconDownloader was previously changed to expect the global frame routing ID instead of RenderFrameHost* (crrev.com/c/2085752). This will be changed to use RenderFrameHost* directly in a subsequent CL per a post-commit comment. After this change, all payments code can also be cleaned up to look up WebContents* from the RenderFrameHost* instead of retaining both. This will also be cleaned up in a subsequent CL. Bug: 1055360 Change-Id: Ic431b04ff88d1ac0235172391c9697bbd0ec8fa9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2097242Reviewed-by:Rouslan Solomakhin <rouslan@chromium.org> Commit-Queue: Danyao Wang <danyao@chromium.org> Cr-Commit-Position: refs/heads/master@{#749149}
Showing
Please register or sign in to comment