summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/autofill_manager_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autofill/autofill_manager_unittest.cc')
-rw-r--r--chrome/browser/autofill/autofill_manager_unittest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/autofill/autofill_manager_unittest.cc b/chrome/browser/autofill/autofill_manager_unittest.cc
index 2938428..a50cff2 100644
--- a/chrome/browser/autofill/autofill_manager_unittest.cc
+++ b/chrome/browser/autofill/autofill_manager_unittest.cc
@@ -30,7 +30,7 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/testing_profile.h"
-#include "content/browser/tab_contents/test_tab_contents.h"
+#include "content/public/browser/web_contents.h"
#include "content/test/mock_render_process_host.h"
#include "content/test/test_browser_thread.h"
#include "googleurl/src/gurl.h"
@@ -44,6 +44,7 @@
#include "webkit/forms/form_field.h"
using content::BrowserThread;
+using content::WebContents;
using testing::_;
using webkit::forms::FormData;
using webkit::forms::FormField;
@@ -2916,7 +2917,7 @@ TEST_F(AutofillManagerTest, TestTabContentsWithExternalDelegate) {
switches::kExternalAutofillPopup);
// Setting the contents creates a new TabContentsWrapper.
- TestTabContents* contents = CreateTestTabContents();
+ WebContents* contents = CreateTestWebContents();
SetContents(contents);
AutofillManager* autofill_manager = contents_wrapper()->autofill_manager();