Index: components/autofill/content/renderer/autofill_agent.cc |
diff --git a/components/autofill/content/renderer/autofill_agent.cc b/components/autofill/content/renderer/autofill_agent.cc |
index ec663ceb8782abeb1bb83ba183c23625c7d14c98..55ad6a741c0822892d7afad335ed1d513623e45f 100644 |
--- a/components/autofill/content/renderer/autofill_agent.cc |
+++ b/components/autofill/content/renderer/autofill_agent.cc |
@@ -263,7 +263,8 @@ void AutofillAgent::didRequestAutocomplete( |
content::SSLStatus ssl_status = |
render_view()->GetSSLStatusOfFrame(form.document().frame()); |
bool is_safe = url.SchemeIs(url::kHttpsScheme) && |
- !net::IsCertStatusError(ssl_status.cert_status); |
+ (!net::IsCertStatusError(ssl_status.cert_status) || |
+ net::IsCertStatusMinorError(ssl_status.cert_status)); |
bool allow_unsafe = CommandLine::ForCurrentProcess()->HasSwitch( |
::switches::kReduceSecurityForTesting); |