Remove active_index from Browser.
BUG=167548
TEST=no functional change
Review URL: https://chromiumcodereview.appspot.com/11855011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176621 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/ui/browser_focus_uitest.cc b/chrome/browser/ui/browser_focus_uitest.cc
index 3f9f689..bf518ba 100644
--- a/chrome/browser/ui/browser_focus_uitest.cc
+++ b/chrome/browser/ui/browser_focus_uitest.cc
@@ -949,14 +949,14 @@
content::PAGE_TRANSITION_TYPED, GURL());
// Make sure the second tab is selected.
- EXPECT_EQ(1, browser()->active_index());
+ EXPECT_EQ(1, browser()->tab_strip_model()->active_index());
// The tab contents should have the focus in the second tab.
EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_TAB_CONTAINER));
// Go back to the first tab. The focus should not be in the omnibox.
chrome::SelectPreviousTab(browser());
- EXPECT_EQ(0, browser()->active_index());
+ EXPECT_EQ(0, browser()->tab_strip_model()->active_index());
EXPECT_FALSE(ui_test_utils::IsViewFocused(browser(),
VIEW_ID_LOCATION_BAR));
}