diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-15 17:13:33 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-15 17:13:33 +0000 |
commit | fe84b910e02f66451d9b746d03f761aedfa39032 (patch) | |
tree | ba31d5ff4ae9229366bb0675d6dc476fd55645f8 /views/layout/grid_layout_unittest.cc | |
parent | ce2d72c6918e9707ef3dc9987369241108ed239f (diff) | |
download | chromium_src-fe84b910e02f66451d9b746d03f761aedfa39032.zip chromium_src-fe84b910e02f66451d9b746d03f761aedfa39032.tar.gz chromium_src-fe84b910e02f66451d9b746d03f761aedfa39032.tar.bz2 |
Convert some more view methods to the ui/views style.
BUG=72040
TEST=none
Review URL: http://codereview.chromium.org/7349021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92705 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/layout/grid_layout_unittest.cc')
-rw-r--r-- | views/layout/grid_layout_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/layout/grid_layout_unittest.cc b/views/layout/grid_layout_unittest.cc index c893d09..542d7c5 100644 --- a/views/layout/grid_layout_unittest.cc +++ b/views/layout/grid_layout_unittest.cc @@ -63,7 +63,7 @@ class GridLayoutTest : public testing::Test { virtual void RemoveAll() { for (int i = host.child_count() - 1; i >= 0; i--) - host.RemoveChildView(host.GetChildViewAt(i)); + host.RemoveChildView(host.child_at(i)); } void GetPreferredSize() { @@ -92,7 +92,7 @@ class GridLayoutAlignmentTest : public testing::Test { virtual void RemoveAll() { for (int i = host.child_count() - 1; i >= 0; i--) - host.RemoveChildView(host.GetChildViewAt(i)); + host.RemoveChildView(host.child_at(i)); } void TestAlignment(GridLayout::Alignment alignment, gfx::Rect* bounds) { @@ -402,7 +402,7 @@ TEST_F(GridLayoutTest, FixedSize) { for (int i = 0; i < column_count; ++i) { for (int row = 0; row < row_count; ++row) { - View* view = host.GetChildViewAt(row * column_count + i); + View* view = host.child_at(row * column_count + i); ExpectViewBoundsEquals( 2 + title_width * i + (title_width - pref_width) / 2, 2 + pref_height * row, |