Index: ui/views/controls/button/menu_button.cc |
diff --git a/ui/views/controls/button/menu_button.cc b/ui/views/controls/button/menu_button.cc |
index a572654fbbd3e8907916064887500a22ca3cef97..23607f4eb56b4279bd1c44c6c31b9077279c5eed 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; |
} |