diff options
author | mathp <mathp@chromium.org> | 2016-02-01 14:14:46 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-01 22:15:45 +0000 |
commit | af4d5da88d32e36044079a49f1af46e7d28fff70 (patch) | |
tree | c065a33ae7234c5e773d79a3670d03efeb0da59b /android_webview/native | |
parent | 71bc3b2b02bdf75f04e672c5e1e77999a124b536 (diff) | |
download | chromium_src-af4d5da88d32e36044079a49f1af46e7d28fff70.zip chromium_src-af4d5da88d32e36044079a49f1af46e7d28fff70.tar.gz chromium_src-af4d5da88d32e36044079a49f1af46e7d28fff70.tar.bz2 |
[Autofill] Remove warning for CC autofill on secure pages with mixed passive content
Test page: https://420fb7a0cffed907f3562bad84d357ad43f54dbd.googledrive.com/host/0B3xzZ-vFr2LRWVFBaWl2V0M4NFk
BUG=574839
TEST=manual
Review URL: https://codereview.chromium.org/1659463003
Cr-Commit-Position: refs/heads/master@{#372784}
Diffstat (limited to 'android_webview/native')
-rw-r--r-- | android_webview/native/aw_autofill_client.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/android_webview/native/aw_autofill_client.cc b/android_webview/native/aw_autofill_client.cc index b72eb14..cb7b646 100644 --- a/android_webview/native/aw_autofill_client.cc +++ b/android_webview/native/aw_autofill_client.cc @@ -192,9 +192,9 @@ bool AwAutofillClient::IsContextSecure(const GURL& form_origin) { // Note: The implementation below is a copy of the one in // ChromeAutofillClient::IsContextSecure, and should be kept in sync // until crbug.com/505388 gets implemented. - return ssl_status.security_style == - content::SECURITY_STYLE_AUTHENTICATED && - ssl_status.content_status == content::SSLStatus::NORMAL_CONTENT; + return ssl_status.security_style == content::SECURITY_STYLE_AUTHENTICATED && + !(ssl_status.content_status & + content::SSLStatus::RAN_INSECURE_CONTENT); } void AwAutofillClient::SuggestionSelected(JNIEnv* env, |