| Index: ui/views/controls/scrollbar/base_scroll_bar.cc
|
| diff --git a/ui/views/controls/scrollbar/base_scroll_bar.cc b/ui/views/controls/scrollbar/base_scroll_bar.cc
|
| index 58e21167d493942f2893651b7310ef1839d2f3ce..42b1b1df449644740ebcb052158175ba615eaea2 100644
|
| --- a/ui/views/controls/scrollbar/base_scroll_bar.cc
|
| +++ b/ui/views/controls/scrollbar/base_scroll_bar.cc
|
| @@ -219,7 +219,7 @@ enum ScrollBarContextMenuCommands {
|
|
|
| void BaseScrollBar::ShowContextMenuForView(View* source, const gfx::Point& p) {
|
| Widget* widget = GetWidget();
|
| - gfx::Rect widget_bounds = widget->GetWindowScreenBounds();
|
| + gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen();
|
| gfx::Point temp_pt(p.x() - widget_bounds.x(), p.y() - widget_bounds.y());
|
| View::ConvertPointFromWidget(this, &temp_pt);
|
| context_menu_mouse_position_ = IsHorizontal() ? temp_pt.x() : temp_pt.y();
|
|
|