| Index: chrome/views/button_dropdown.cc
|
| ===================================================================
|
| --- chrome/views/button_dropdown.cc (revision 3347)
|
| +++ chrome/views/button_dropdown.cc (working copy)
|
| @@ -112,7 +112,7 @@
|
|
|
| // Both the menu position and the menu anchor type change if the UI layout
|
| // is right-to-left.
|
| - CPoint menu_position = CPoint(lb.TopLeft());
|
| + gfx::Point menu_position(lb.TopLeft());
|
| menu_position.Offset(0, lb.Height() - 1);
|
| if (UILayoutIsRightToLeft())
|
| menu_position.Offset(lb.Width() - 1, 0);
|
| @@ -139,7 +139,7 @@
|
| }
|
| }
|
|
|
| - menu.RunMenuAt(menu_position.x, menu_position.y);
|
| + menu.RunMenuAt(menu_position.x(), menu_position.y());
|
|
|
| // Need to explicitly clear mouse handler so that events get sent
|
| // properly after the menu finishes running. If we don't do this, then
|
|
|