Commit b4c5946b authored by Nick Burris's avatar Nick Burris Committed by Commit Bot

Fix Secure Payment Confirmation controller logic

This patch fixes a bug in the SPC controller logic that checks for the
existence of the PaymentRequestSpec. This bug results in no UI shown
when the feature is activated.

Bug: 1133822 1127322
Change-Id: I27d1d6f2a53e859a132f2f73237a360979efe6a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441937
Commit-Queue: Nick Burris <nburris@chromium.org>
Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org>
Reviewed-by: default avatarRouslan Solomakhin <rouslan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#812575}
parent 00b70ebf
...@@ -34,7 +34,7 @@ void SecurePaymentConfirmationController::ShowDialog() { ...@@ -34,7 +34,7 @@ void SecurePaymentConfirmationController::ShowDialog() {
NOTREACHED(); NOTREACHED();
#endif // OS_ANDROID #endif // OS_ANDROID
if (!request_ || request_->spec()) if (!request_ || !request_->spec())
return; return;
if (!request_->state()->IsInitialized()) { if (!request_->state()->IsInitialized()) {
......
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