diff options
Diffstat (limited to 'components/autofill/content/renderer/autofill_agent.cc')
-rw-r--r-- | components/autofill/content/renderer/autofill_agent.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/autofill/content/renderer/autofill_agent.cc b/components/autofill/content/renderer/autofill_agent.cc index c6c53a3..ca8e10e 100644 --- a/components/autofill/content/renderer/autofill_agent.cc +++ b/components/autofill/content/renderer/autofill_agent.cc @@ -280,7 +280,7 @@ void AutofillAgent::didRequestAutocomplete( GURL url(form.document().url()); content::SSLStatus ssl_status = render_view()->GetSSLStatusOfFrame(form.document().frame()); - bool is_safe = url.SchemeIs(content::kHttpsScheme) && + bool is_safe = url.SchemeIs(url::kHttpsScheme) && !net::IsCertStatusError(ssl_status.cert_status); bool allow_unsafe = CommandLine::ForCurrentProcess()->HasSwitch( ::switches::kReduceSecurityForTesting); |