Index: chrome/renderer/autofill/autofill_agent.cc |
diff --git a/chrome/renderer/autofill/autofill_agent.cc b/chrome/renderer/autofill/autofill_agent.cc |
index ba88fa319b06761d2369136ee0082bf625be6bf1..aced4806f6798c621ab99c9e02c31aa451314cb6 100644 |
--- a/chrome/renderer/autofill/autofill_agent.cc |
+++ b/chrome/renderer/autofill/autofill_agent.cc |
@@ -310,7 +310,8 @@ void AutofillAgent::ShowSuggestions(const WebInputElement& element, |
bool requires_caret_at_end, |
bool display_warning_if_disabled) { |
if (!element.isEnabled() || element.isReadOnly() || !element.autoComplete() || |
- !element.isTextField() || element.isPasswordField()) |
+ !element.isTextField() || element.isPasswordField() || |
+ !element.suggestedValue().isEmpty()) |
return; |
// If the field has no name, then we won't have values. |