| Index: components/autofill/core/browser/autofill_manager.cc
|
| diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
|
| index 505a629410c19b43d4d1a5af59dbeeda915c7fd7..bd2b3ff39ab4b0f03d331864ee22dd0cdc109417 100644
|
| --- a/components/autofill/core/browser/autofill_manager.cc
|
| +++ b/components/autofill/core/browser/autofill_manager.cc
|
| @@ -552,7 +552,8 @@ void AutofillManager::OnQueryFormFieldAutofill(int query_id,
|
| }
|
| if (!suggestions.empty()) {
|
| bool is_context_secure =
|
| - client_->IsContextSecure(form_structure->source_url());
|
| + client_->IsContextSecure(form_structure->source_url()) &&
|
| + form_structure->target_url().SchemeIs("https");
|
| if (is_filling_credit_card)
|
| AutofillMetrics::LogIsQueriedCreditCardFormSecure(is_context_secure);
|
|
|
|
|