| 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 ffcb81331349b33f17efea0dcdb18ac400b36ae8..ec7b5193bbd1a88f89a3e9a37356d17d8c4d0923 100644
|
| --- a/components/autofill/core/browser/autofill_manager.cc
|
| +++ b/components/autofill/core/browser/autofill_manager.cc
|
| @@ -638,7 +638,7 @@ void AutofillManager::OnQueryFormFieldAutofill(int query_id,
|
| }
|
|
|
| // Show a "Payment not secure" message.
|
| - if (!is_context_secure && is_http_warning_enabled) {
|
| + if (!is_context_secure && is_filling_credit_card && is_http_warning_enabled) {
|
| #if !defined(OS_ANDROID)
|
| if (!suggestions.empty()) {
|
| suggestions.insert(suggestions.begin(), Suggestion());
|
|
|