[Web Payment]PR_sheet_controller should not update views during PR abort
Similar to crbug.com/993223 PaymentRequestSheetController::UpdateHeaderView gets called after the payment request(PR) has been aborted. The fix for crbug.com/993223 early returns in DidFinishNavigation which is the caller of UpdateHeaderView. That's why calling UpdateHeaderView from a different function (e.g. DidChangeVisibleSecurityState in the case of crbug.com/1165624) still reproduces the issue. This CL early returns in all PaymentRequestSheetController's Update...View functions when the PR is being aborted. Bug: 1165624 Change-Id: Ie6f8f8ff6e72ef16878aa8dc3f15e19dea1587e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2635074Reviewed-by:Rouslan Solomakhin <rouslan@chromium.org> Commit-Queue: Sahel Sharify <sahel@chromium.org> Cr-Commit-Position: refs/heads/master@{#844843}
Showing
Please register or sign in to comment