| Index: chrome/browser/views/bookmark_manager_view.cc
|
| ===================================================================
|
| --- chrome/browser/views/bookmark_manager_view.cc (revision 6997)
|
| +++ chrome/browser/views/bookmark_manager_view.cc (working copy)
|
| @@ -475,7 +475,7 @@
|
| }
|
|
|
| void BookmarkManagerView::RunMenu(views::View* source,
|
| - const CPoint& pt,
|
| + const gfx::Point& pt,
|
| HWND hwnd) {
|
| // TODO(glen): when you change the buttons around and what not, futz with
|
| // this to make it look good. If you end up keeping padding numbers make them
|
| @@ -483,14 +483,14 @@
|
| if (!GetBookmarkModel()->IsLoaded())
|
| return;
|
|
|
| - int menu_x = pt.x;
|
| + int menu_x = pt.x();
|
| menu_x += UILayoutIsRightToLeft() ? (source->width() - 5) :
|
| (-source->width() + 5);
|
| if (source->GetID() == kOrganizeMenuButtonID) {
|
| - ShowMenu(hwnd, menu_x, pt.y + 2,
|
| + ShowMenu(hwnd, menu_x, pt.y() + 2,
|
| BookmarkContextMenu::BOOKMARK_MANAGER_ORGANIZE_MENU);
|
| } else if (source->GetID() == kToolsMenuButtonID) {
|
| - ShowToolsMenu(hwnd, menu_x, pt.y + 2);
|
| + ShowToolsMenu(hwnd, menu_x, pt.y() + 2);
|
| } else {
|
| NOTREACHED();
|
| }
|
|
|