commit | cf4e2132567bcf3788501a4b13211d6bc7d8b546 | [log] [tgz] |
---|---|---|
author | Sahel Sharify <[email protected]> | Fri Jan 24 23:59:08 2020 |
committer | Commit Bot <[email protected]> | Fri Jan 24 23:59:08 2020 |
tree | 48da7f1e8667b75ef4fc5460d6eb598a60c141e9 | |
parent | 1e8e0ff56ee0a43c0f3e196b158faf3e9f830a55 [diff] [blame] |
[payments] Do not allow payment app change during retry. With this change only the app selected for the initial "pay" attempt will be available during retry. Bug: 1028098 Change-Id: I13815f19e86c2ca3413867ce17d04dc48862b98c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2015826 Commit-Queue: Sahel Sharify <[email protected]> Reviewed-by: Rouslan Solomakhin <[email protected]> Cr-Commit-Position: refs/heads/master@{#735162}
diff --git a/components/payments/content/payment_request.cc b/components/payments/content/payment_request.cc index 17f7acf0..d8eab2d 100644 --- a/components/payments/content/payment_request.cc +++ b/components/payments/content/payment_request.cc
@@ -310,6 +310,7 @@ return; } + state()->SetAvailablePaymentAppForRetry(); spec()->Retry(std::move(errors)); display_handle_->Retry(); }