Index: chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc |
=================================================================== |
--- chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc (revision 151267) |
+++ chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc (working copy) |
@@ -510,7 +510,7 @@ |
for (int i = 0; i < nb_match; ++i) { |
views::View* child = child_at(i); |
gfx::Point point_in_child_coords(point); |
- View::ConvertPointToView(this, child, &point_in_child_coords); |
+ View::ConvertPointToTarget(this, child, &point_in_child_coords); |
if (child->HitTestPoint(point_in_child_coords)) |
return i; |
} |
@@ -541,7 +541,7 @@ |
} |
void OmniboxPopupContentsView::UpdateLineEvent( |
- const views::LocatedEvent& event, |
+ const ui::LocatedEvent& event, |
bool should_set_selected_line) { |
size_t index = GetIndexForPoint(event.location()); |
model_->SetHoveredLine(index); |
@@ -550,7 +550,7 @@ |
} |
void OmniboxPopupContentsView::OpenSelectedLine( |
- const views::LocatedEvent& event, |
+ const ui::LocatedEvent& event, |
WindowOpenDisposition disposition) { |
size_t index = GetIndexForPoint(event.location()); |
OpenIndex(index, disposition); |