| 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 2569c41e1e78dc0fd26092486e13c97ff8d1f2ca..0365ba42a5f56b305d1e52d39317ee0eea746a7a 100644
|
| --- a/components/autofill/core/browser/autofill_manager.cc
|
| +++ b/components/autofill/core/browser/autofill_manager.cc
|
| @@ -641,7 +641,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());
|
|
|