Index: chrome/browser/autocomplete/autocomplete_popup.cc |
=================================================================== |
--- chrome/browser/autocomplete/autocomplete_popup.cc (revision 3348) |
+++ chrome/browser/autocomplete/autocomplete_popup.cc (working copy) |
@@ -172,9 +172,9 @@ |
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 |