Chromium Code Reviews| Index: views/controls/scroll_view.cc |
| =================================================================== |
| --- views/controls/scroll_view.cc (revision 92366) |
| +++ views/controls/scroll_view.cc (working copy) |
| @@ -22,7 +22,7 @@ |
| if (!has_children() || !parent()) |
| return; |
| - View* contents = GetChildViewAt(0); |
| + View* contents = child_at(0); |
| gfx::Rect scroll_rect(rect); |
| scroll_rect.Offset(-contents->x(), -contents->y()); |
| static_cast<ScrollView*>(parent())->ScrollContentsRegionToBeVisible( |