| 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 3598361fe85e187a0c2272df3c00abaadfd49331..6c00319906fc4684da72c4ff88262154cf902b5d 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::GetPrimaryMonitor().work_area();
|
| + gfx::Rect monitor_bounds = gfx::Screen::GetPrimaryDisplay().work_area();
|
| gfx::Point corner(monitor_bounds.x(), monitor_bounds.y());
|
| if (Browser* browser = BrowserList::GetLastActive()) {
|
| GtkWindow* window =
|
|
|