Index: components/autofill/core/browser/autofill_manager_unittest.cc |
diff --git a/components/autofill/core/browser/autofill_manager_unittest.cc b/components/autofill/core/browser/autofill_manager_unittest.cc |
index 138f7d4ab9531e4ab13017050c9c129c0d5ff221..66bdf61bc034e1e77205a6fbe720419299c09d76 100644 |
--- a/components/autofill/core/browser/autofill_manager_unittest.cc |
+++ b/components/autofill/core/browser/autofill_manager_unittest.cc |
@@ -41,6 +41,7 @@ |
#include "components/autofill/core/common/form_data.h" |
#include "components/autofill/core/common/form_field_data.h" |
#include "components/autofill/core/common/forms_seen_state.h" |
+#include "components/autofill/core/common/password_form.h" |
#include "components/user_prefs/user_prefs.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/test/mock_render_process_host.h" |
@@ -543,6 +544,7 @@ class TestAutofillExternalDelegate : public AutofillExternalDelegate { |
virtual void OnQuery(int query_id, |
const FormData& form, |
const FormFieldData& field, |
+ const PasswordForm& password_form, |
const gfx::RectF& bounds, |
bool display_warning) OVERRIDE { |
on_query_seen_ = true; |
@@ -659,11 +661,9 @@ class AutofillManagerTest : public ChromeRenderViewHostTestHarness { |
void GetAutofillSuggestions(int query_id, |
const FormData& form, |
const FormFieldData& field) { |
- autofill_manager_->OnQueryFormFieldAutofill(query_id, |
- form, |
- field, |
- gfx::Rect(), |
- false); |
+ PasswordForm password_form; |
+ autofill_manager_->OnQueryFormFieldAutofill( |
+ query_id, form, field, password_form, gfx::Rect(), false); |
} |
void GetAutofillSuggestions(const FormData& form, |