diff options
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_popup.cc')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_popup.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup.cc b/chrome/browser/autocomplete/autocomplete_popup.cc index c9ca6a1..c30bbb5 100644 --- a/chrome/browser/autocomplete/autocomplete_popup.cc +++ b/chrome/browser/autocomplete/autocomplete_popup.cc @@ -172,9 +172,9 @@ void AutocompletePopupView::UpdatePopupAppearance() { CRect rc = edit_view_->parent_view()->bounds().ToRECT(); // Subtract the top left corner to make the coordinates relative to the // location bar view itself, and convert to screen coordinates. - CPoint top_left(-rc.TopLeft()); + gfx::Point top_left(-rc.TopLeft()); ChromeViews::View::ConvertPointToScreen(edit_view_->parent_view(), &top_left); - rc.OffsetRect(top_left); + rc.OffsetRect(top_left.ToPOINT()); // Expand by one pixel on each side since that's the amount the location bar // view is inset from the divider line that edges the adjacent buttons. // Deflate the top and bottom by the height of the extra graphics around the |