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

Unified Diff: chrome/renderer/password_autocomplete_manager.cc

Issue 5337011: Autofill API cleanup of deprecated methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/password_autocomplete_manager.cc
diff --git a/chrome/renderer/password_autocomplete_manager.cc b/chrome/renderer/password_autocomplete_manager.cc
index 284f12fea096d0df1915ba4f3b549e424af3a05b..78512fa5a6f40c7b16a8325d6c2bd05e690a8073 100644
--- a/chrome/renderer/password_autocomplete_manager.cc
+++ b/chrome/renderer/password_autocomplete_manager.cc
@@ -422,7 +422,11 @@ bool PasswordAutocompleteManager::ShowSuggestionPopup(
if (!webview)
return false;
- webview->applyAutocompleteSuggestions(user_input, suggestions, -1);
+ std::vector<string16> labels(suggestions.size());
+ std::vector<string16> icons(suggestions.size());
+ std::vector<int> ids(suggestions.size(), 0);
+ webview->applyAutoFillSuggestions(user_input, suggestions, labels, icons, ids,
+ -1);
return true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698