Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2098)

Unified Diff: chrome/renderer/autofill/password_autofill_manager.cc

Issue 11446028: Ignore autocomplete=off when password manager is saving the generated passwords during account crea… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a naming issue. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/autofill/password_autofill_manager.cc
diff --git a/chrome/renderer/autofill/password_autofill_manager.cc b/chrome/renderer/autofill/password_autofill_manager.cc
index 15386163a79c762ee3fcdf070f9ef57dff195630..083f99c7ec32d8be5f3af53a57bbf148d8da4c51 100644
--- a/chrome/renderer/autofill/password_autofill_manager.cc
+++ b/chrome/renderer/autofill/password_autofill_manager.cc
@@ -348,10 +348,6 @@ void PasswordAutofillManager::SendPasswordForms(WebKit::WebFrame* frame,
for (size_t i = 0; i < forms.size(); ++i) {
const WebKit::WebFormElement& form = forms[i];
- // Respect autocomplete=off.
- if (!form.autoComplete())
- continue;
-
// If requested, ignore non-rendered forms, e.g. those styled with
// display:none.
if (only_visible && !form.hasNonEmptyBoundingBox())
« no previous file with comments | « chrome/browser/password_manager/password_manager_unittest.cc ('k') | chrome/renderer/autofill/password_generation_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698