Index: components/autofill/core/browser/test_autofill_external_delegate.cc |
diff --git a/components/autofill/core/browser/test_autofill_external_delegate.cc b/components/autofill/core/browser/test_autofill_external_delegate.cc |
index 94e6b9ec8bc72bdc8be2c8dc36a778ab73aa159e..5aa80db1e6a66eea859e6cba73271e0c9c09484d 100644 |
--- a/components/autofill/core/browser/test_autofill_external_delegate.cc |
+++ b/components/autofill/core/browser/test_autofill_external_delegate.cc |
@@ -18,12 +18,9 @@ void GenerateTestAutofillPopup( |
gfx::RectF bounds(100.f, 100.f); |
autofill_external_delegate->OnQuery(query_id, form, field, bounds, false); |
- std::vector<base::string16> autofill_item; |
- autofill_item.push_back(base::string16()); |
- std::vector<int> autofill_id; |
- autofill_id.push_back(0); |
- autofill_external_delegate->OnSuggestionsReturned( |
- query_id, autofill_item, autofill_item, autofill_item, autofill_id); |
+ std::vector<Suggestion> suggestions; |
+ suggestions.push_back(Suggestion()); |
+ autofill_external_delegate->OnSuggestionsReturned(query_id, suggestions); |
} |
} // namespace autofill |