summaryrefslogtreecommitdiffstats
path: root/ui/views/controls
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-28 16:54:41 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-28 16:54:41 +0000
commit73cb522e12c2efdf666b9a85fa42811ccc4f2c21 (patch)
treec8184d65c3f6934dd69ead1a22d33ca2eff60db3 /ui/views/controls
parentbd10f67d6dced28ac2a06d86fd73791339a00c6a (diff)
downloadchromium_src-73cb522e12c2efdf666b9a85fa42811ccc4f2c21.zip
chromium_src-73cb522e12c2efdf666b9a85fa42811ccc4f2c21.tar.gz
chromium_src-73cb522e12c2efdf666b9a85fa42811ccc4f2c21.tar.bz2
views: Get rid of the stl-style accessors from View.
R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10710007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/controls')
-rw-r--r--ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc b/ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc
index 1d2bf91..570b7a9 100644
--- a/ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc
+++ b/ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc
@@ -392,9 +392,8 @@ void NativeTabbedPaneViews::InitControl() {
}
void NativeTabbedPaneViews::InitializeTabs() {
- for (std::vector<View*>::const_iterator tab = tab_strip_->children_begin();
- tab != tab_strip_->children_end(); ++tab)
- content_view_->AddChildView(Tab::GetContents(*tab));
+ for (int i = 0; i < tab_strip_->child_count(); ++i)
+ content_view_->AddChildView(Tab::GetContents(tab_strip_->child_at(i)));
}
////////////////////////////////////////////////////////////////////////////////