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 6d12bb9117f517546454780af3b47b91d0ccdb67..89fd0e50ee552ccb7ed47df7a620563dc3340f28 100644 |
--- a/components/autofill/core/browser/autofill_manager.cc |
+++ b/components/autofill/core/browser/autofill_manager.cc |
@@ -62,6 +62,7 @@ |
#include "components/prefs/pref_service.h" |
#include "components/rappor/public/rappor_utils.h" |
#include "components/rappor/rappor_service_impl.h" |
+#include "components/security_state/core/security_state.h" |
#include "google_apis/gaia/identity_provider.h" |
#include "grit/components_strings.h" |
#include "ui/base/l10n/l10n_util.h" |
@@ -599,7 +600,7 @@ void AutofillManager::OnQueryFormFieldAutofill(int query_id, |
// On top of the explanation message, first show a "Payment not secure" |
// message. |
- if (IsCreditCardAutofillHttpWarningEnabled()) { |
+ if (security_state::IsHttpWarningInFormEnabled()) { |
#if !defined(OS_ANDROID) |
suggestions.insert(suggestions.begin(), Suggestion()); |
suggestions.front().frontend_id = POPUP_ITEM_ID_SEPARATOR; |