Index: components/autofill/content/renderer/password_autofill_agent.cc |
diff --git a/components/autofill/content/renderer/password_autofill_agent.cc b/components/autofill/content/renderer/password_autofill_agent.cc |
index 7a9099b6aabc2e2115724c67eaa1a98b7a4542bc..a1b34601ebd6d04ab68b9c5b9131985bdcbe4813 100644 |
--- a/components/autofill/content/renderer/password_autofill_agent.cc |
+++ b/components/autofill/content/renderer/password_autofill_agent.cc |
@@ -1105,9 +1105,12 @@ bool PasswordAutofillAgent::ShowSuggestionPopup( |
bounding_box.y() * scale, |
bounding_box.width() * scale, |
bounding_box.height() * scale); |
+ int options = 0; |
+ if (show_all) |
+ options |= ShowPasswordSuggestionsOptions::SHOW_ALL; |
Send(new AutofillHostMsg_ShowPasswordSuggestions( |
routing_id(), key_it->second, field.text_direction, user_input.value(), |
- show_all, bounding_box_scaled)); |
+ options, bounding_box_scaled)); |
bool suggestions_present = false; |
if (GetSuggestionsStats(fill_data, user_input.value(), show_all, |