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..1c35690ec5c6ddfec78572b16b4a2f05ccce0546 100644 |
--- a/components/autofill/core/browser/autofill_manager_unittest.cc |
+++ b/components/autofill/core/browser/autofill_manager_unittest.cc |
@@ -50,6 +50,7 @@ |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/WebKit/public/web/WebAutofillClient.h" |
+#include "third_party/WebKit/public/web/WebFormControlElement.h" |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/gfx/rect.h" |
#include "url/gurl.h" |
@@ -543,6 +544,7 @@ class TestAutofillExternalDelegate : public AutofillExternalDelegate { |
virtual void OnQuery(int query_id, |
const FormData& form, |
const FormFieldData& field, |
+ const blink::WebFormElement& webformelement, |
const gfx::RectF& bounds, |
bool display_warning) OVERRIDE { |
on_query_seen_ = true; |
@@ -659,9 +661,11 @@ class AutofillManagerTest : public ChromeRenderViewHostTestHarness { |
void GetAutofillSuggestions(int query_id, |
const FormData& form, |
const FormFieldData& field) { |
+ blink::WebFormElement webformelement; |
autofill_manager_->OnQueryFormFieldAutofill(query_id, |
form, |
field, |
+ webformelement, |
gfx::Rect(), |
false); |
} |