Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1861)

Unified Diff: chrome/browser/ui/views/autofill/autofill_external_delegate_views_browsertest.cc

Issue 11185011: Remove TabContents from autofill unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: de(r)ps Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/form_structure_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
« no previous file with comments | « chrome/browser/autofill/form_structure_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698