summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/renderer/render_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index a2fea6f..8698211 100644
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -1235,7 +1235,7 @@ void RenderView::OnQueryFormFieldAutofillAck(
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);
}