Chromium Code Reviews| Index: views/examples/scroll_view_example.cc |
| =================================================================== |
| --- views/examples/scroll_view_example.cc (revision 92366) |
| +++ views/examples/scroll_view_example.cc (working copy) |
| @@ -31,7 +31,7 @@ |
| } |
| void PlaceChildY(int index, int y) { |
| - views::View* view = GetChildViewAt(index); |
| + views::View* view = child_at(index); |
| gfx::Size size = view->GetPreferredSize(); |
| view->SetBounds(0, y, size.width(), size.height()); |
| } |