diff options
Diffstat (limited to 'ui/views/controls/button/menu_button.cc')
-rw-r--r-- | ui/views/controls/button/menu_button.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/controls/button/menu_button.cc b/ui/views/controls/button/menu_button.cc index a572654..23607f4 100644 --- a/ui/views/controls/button/menu_button.cc +++ b/ui/views/controls/button/menu_button.cc @@ -266,7 +266,7 @@ int MenuButton::GetMaximumScreenXCoordinate() { return 0; } - gfx::Rect monitor_bounds = GetWidget()->GetWorkAreaScreenBounds(); + gfx::Rect monitor_bounds = GetWidget()->GetWorkAreaBoundsInScreen(); return monitor_bounds.right() - 1; } |