Index: chrome/renderer/autofill/password_generation_manager.cc |
diff --git a/chrome/renderer/autofill/password_generation_manager.cc b/chrome/renderer/autofill/password_generation_manager.cc |
index 65d96035cba569d755e6926f4253644bbca89919..3cce16407d98c951d220d8f04bc0f61e7b88fcfc 100644 |
--- a/chrome/renderer/autofill/password_generation_manager.cc |
+++ b/chrome/renderer/autofill/password_generation_manager.cc |
@@ -80,8 +80,10 @@ void PasswordGenerationManager::FocusedNodeChanged( |
if (!input_element.isNull() && |
account_creation_elements_.first == input_element) { |
gfx::Rect rect(input_element.boundsInViewportSpace()); |
- Send(new AutofillHostMsg_ShowPasswordGenerationPopup(routing_id(), |
- rect)); |
+ Send(new AutofillHostMsg_ShowPasswordGenerationPopup( |
+ routing_id(), |
+ rect, |
+ input_element.maxLength())); |
} |
} |