| 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 2bbee3121bde5d6dff73161c34f49d0fb0619b38..e371dc31ef4b0c51ee1833312933456194740483 100644
|
| --- a/chrome/renderer/autofill/password_autofill_manager.cc
|
| +++ b/chrome/renderer/autofill/password_autofill_manager.cc
|
| @@ -10,6 +10,7 @@
|
| #include "chrome/common/autofill_messages.h"
|
| #include "chrome/renderer/autofill/form_autofill_util.h"
|
| #include "content/public/renderer/render_view.h"
|
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h"
|
| @@ -534,9 +535,10 @@ bool PasswordAutofillManager::ShowSuggestionPopup(
|
|
|
| std::vector<string16> labels(suggestions.size());
|
| std::vector<string16> icons(suggestions.size());
|
| - std::vector<int> ids(suggestions.size(), 0);
|
| + std::vector<int> ids(suggestions.size(),
|
| + WebKit::WebAutofillClient::MenuItemIDPasswordEntry);
|
| webview->applyAutofillSuggestions(
|
| - user_input, suggestions, labels, icons, ids, -1);
|
| + user_input, suggestions, labels, icons, ids);
|
| return true;
|
| }
|
|
|
|
|