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

Unified Diff: chrome/renderer/render_view.cc

Issue 353009: Fix autofill popups not closing when there are no suggestions. We have to cal... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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/render_view.cc
===================================================================
--- chrome/renderer/render_view.cc (revision 30731)
+++ chrome/renderer/render_view.cc (working copy)
@@ -1231,7 +1231,7 @@
int query_id,
const std::vector<string16>& suggestions,
int default_suggestion_index) {
- if (webview() && query_id == autofill_query_id_ && !suggestions.empty()) {
+ if (webview() && query_id == autofill_query_id_) {
webview()->applyAutofillSuggestions(
autofill_query_node_, suggestions, default_suggestion_index);
}
« 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