summaryrefslogtreecommitdiffstats
path: root/chrome/browser/popup_blocker_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/popup_blocker_browsertest.cc')
-rw-r--r--chrome/browser/popup_blocker_browsertest.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/popup_blocker_browsertest.cc b/chrome/browser/popup_blocker_browsertest.cc
index 6bb8114..e794f77 100644
--- a/chrome/browser/popup_blocker_browsertest.cc
+++ b/chrome/browser/popup_blocker_browsertest.cc
@@ -14,9 +14,11 @@
#include "chrome/common/chrome_paths.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
-#include "content/browser/tab_contents/tab_contents.h"
+#include "content/public/browser/web_contents.h"
#include "testing/gtest/include/gtest/gtest.h"
+using content::WebContents;
+
namespace {
static const FilePath::CharType* kTestDir = FILE_PATH_LITERAL("popup_blocker");
@@ -34,7 +36,7 @@ IN_PROC_BROWSER_TEST_F(PopupBlockerBrowserTest, PopupBlockedPostBlank) {
// to the original URL.
EXPECT_EQ(1u, BrowserList::GetBrowserCount(browser()->profile()));
EXPECT_EQ(1, browser()->tab_count());
- TabContents* cur_tab = browser()->GetSelectedTabContents();
+ WebContents* cur_tab = browser()->GetSelectedWebContents();
ASSERT_TRUE(cur_tab);
EXPECT_EQ(url, cur_tab->GetURL());
}