| Index: chrome/browser/ui/window_sizer_gtk.cc
|
| diff --git a/chrome/browser/ui/window_sizer_gtk.cc b/chrome/browser/ui/window_sizer_gtk.cc
|
| index 133fb0ca8528f78e333c69b8494c80f51d556956..0b0a5a0b190a090e2783e0271376c805ac9d536e 100644
|
| --- a/chrome/browser/ui/window_sizer_gtk.cc
|
| +++ b/chrome/browser/ui/window_sizer_gtk.cc
|
| @@ -20,7 +20,7 @@ const int WindowSizer::kWindowTilePixels = 10;
|
|
|
| // static
|
| gfx::Point WindowSizer::GetDefaultPopupOrigin(const gfx::Size& size) {
|
| - gfx::Rect monitor_bounds = gfx::Screen::GetPrimaryMonitorWorkArea();
|
| + gfx::Rect monitor_bounds = gfx::Screen::GetPrimaryMonitor().work_area();
|
| gfx::Point corner(monitor_bounds.x(), monitor_bounds.y());
|
| if (Browser* browser = BrowserList::GetLastActive()) {
|
| GtkWindow* window =
|
|
|