| Index: chrome/browser/ui/views/autocomplete/touch_autocomplete_popup_contents_view.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/autocomplete/touch_autocomplete_popup_contents_view.cc (revision 92366)
|
| +++ chrome/browser/ui/views/autocomplete/touch_autocomplete_popup_contents_view.cc (working copy)
|
| @@ -107,7 +107,7 @@
|
| int popup_height = 0;
|
| for (size_t i = 0; i < model_->result().size(); ++i) {
|
| popup_height = std::max(popup_height,
|
| - GetChildViewAt(i)->GetPreferredSize().height());
|
| + child_at(i)->GetPreferredSize().height());
|
| }
|
| popup_height = std::max(popup_height, opt_in_view_ ?
|
| opt_in_view_->GetPreferredSize().height() : 0);
|
| @@ -126,8 +126,8 @@
|
| TouchAutocompletePopupContentsView::GetVisibleChildren() {
|
| std::vector<View*> visible_children;
|
| for (int i = 0; i < child_count(); ++i) {
|
| - View* v = GetChildViewAt(i);
|
| - if (GetChildViewAt(i)->IsVisible())
|
| + View* v = child_at(i);
|
| + if (child_at(i)->IsVisible())
|
| visible_children.push_back(v);
|
| }
|
| return visible_children;
|
|
|