| Index: views/layout/grid_layout_unittest.cc
|
| ===================================================================
|
| --- views/layout/grid_layout_unittest.cc (revision 74231)
|
| +++ views/layout/grid_layout_unittest.cc (working copy)
|
| @@ -62,9 +62,8 @@
|
| }
|
|
|
| virtual void RemoveAll() {
|
| - for (int i = host.GetChildViewCount() - 1; i >= 0; i--) {
|
| + for (int i = host.child_count() - 1; i >= 0; i--)
|
| host.RemoveChildView(host.GetChildViewAt(i));
|
| - }
|
| }
|
|
|
| void GetPreferredSize() {
|
| @@ -92,9 +91,8 @@
|
| }
|
|
|
| virtual void RemoveAll() {
|
| - for (int i = host.GetChildViewCount() - 1; i >= 0; i--) {
|
| + for (int i = host.child_count() - 1; i >= 0; i--)
|
| host.RemoveChildView(host.GetChildViewAt(i));
|
| - }
|
| }
|
|
|
| void TestAlignment(GridLayout::Alignment alignment, gfx::Rect* bounds) {
|
|
|