Index: chrome/browser/ui/views/autofill/autofill_external_delegate_views_browsertest.cc |
diff --git a/chrome/browser/ui/views/autofill/autofill_external_delegate_views_browsertest.cc b/chrome/browser/ui/views/autofill/autofill_external_delegate_views_browsertest.cc |
index 5b3fa0d1c24681622c23885e536509e51842c820..4b7535638a86cc02ff4a3eab041b49ea3f549d35 100644 |
--- a/chrome/browser/ui/views/autofill/autofill_external_delegate_views_browsertest.cc |
+++ b/chrome/browser/ui/views/autofill/autofill_external_delegate_views_browsertest.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/browser/ui/views/autofill/autofill_external_delegate_views.h" |
#include "base/memory/scoped_ptr.h" |
+#include "chrome/browser/autofill/autofill_manager.h" |
#include "chrome/browser/ui/browser_tabstrip.h" |
#include "chrome/browser/ui/views/autofill/autofill_popup_view_views.h" |
#include "chrome/test/base/in_process_browser_test.h" |
@@ -17,7 +18,9 @@ namespace { |
class MockAutofillExternalDelegateViews : public AutofillExternalDelegateViews { |
public: |
explicit MockAutofillExternalDelegateViews(content::WebContents* web_contents) |
- : AutofillExternalDelegateViews(web_contents, NULL), |
+ : AutofillExternalDelegateViews( |
+ web_contents, |
+ AutofillManager::FromWebContents(web_contents)), |
popup_hidden_(false) {} |
~MockAutofillExternalDelegateViews() {} |