Commit 73fb24b7 authored by Manas Verma's avatar Manas Verma Committed by Commit Bot

[Payments Autofill] Bug fix -- forgot to return after nullptr check.

Bug: 949269
Change-Id: Iedeb559d1f17a1549f8e4120e5968f8dd55e11a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1636286Reviewed-by: default avatarJared Saul <jsaul@google.com>
Commit-Queue: Jared Saul <jsaul@google.com>
Commit-Queue: Manas Verma <manasverma@google.com>
Cr-Commit-Position: refs/heads/master@{#664987}
parent 48c46674
...@@ -23,7 +23,7 @@ void CreditCardCVCAuthenticator::Authenticate( ...@@ -23,7 +23,7 @@ void CreditCardCVCAuthenticator::Authenticate(
const base::TimeTicks& form_parsed_timestamp) { const base::TimeTicks& form_parsed_timestamp) {
requester_ = requester; requester_ = requester;
if (!card) if (!card)
OnFullCardRequestFailed(); return OnFullCardRequestFailed();
full_card_request_.reset(new payments::FullCardRequest( full_card_request_.reset(new payments::FullCardRequest(
client_, client_->GetPaymentsClient(), personal_data_manager, client_, client_->GetPaymentsClient(), personal_data_manager,
form_parsed_timestamp)); form_parsed_timestamp));
......
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