diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-13 00:42:38 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-13 00:42:38 +0000 |
commit | 5583d098ed6ff3615022ec7fc9d8c8db7beafc92 (patch) | |
tree | 615d7bfd5e92a25166256b4199037a9190608971 /chrome/browser/captive_portal | |
parent | 37386f05316698320c6cc32359ffc445a710f113 (diff) | |
download | chromium_src-5583d098ed6ff3615022ec7fc9d8c8db7beafc92.zip chromium_src-5583d098ed6ff3615022ec7fc9d8c8db7beafc92.tar.gz chromium_src-5583d098ed6ff3615022ec7fc9d8c8db7beafc92.tar.bz2 |
Remove tab_count from Browser.
BUG=167548
TEST=no functional change
Review URL: https://chromiumcodereview.appspot.com/11858021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176602 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/captive_portal')
-rw-r--r-- | chrome/browser/captive_portal/captive_portal_tab_helper.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/captive_portal/captive_portal_tab_helper.cc b/chrome/browser/captive_portal/captive_portal_tab_helper.cc index a735f8e..c5c8b8c 100644 --- a/chrome/browser/captive_portal/captive_portal_tab_helper.cc +++ b/chrome/browser/captive_portal/captive_portal_tab_helper.cc @@ -251,7 +251,7 @@ void CaptivePortalTabHelper::OpenLoginTab() { // If so, do nothing. // TODO(mmenke): Consider focusing that tab, at least if this is the tab // helper for the currently active tab for the profile. - for (int i = 0; i < browser->tab_count(); ++i) { + for (int i = 0; i < browser->tab_strip_model()->count(); ++i) { content::WebContents* web_contents = browser->tab_strip_model()->GetWebContentsAt(i); captive_portal::CaptivePortalTabHelper* captive_portal_tab_helper = |