| Index: chrome/browser/ui/window_sizer.cc
|
| diff --git a/chrome/browser/ui/window_sizer.cc b/chrome/browser/ui/window_sizer.cc
|
| index 5c2da7f9324509022f90967461d02652aeef3fed..0dffea6ee77cacd95dbd24f5cdc1f896bb385051 100644
|
| --- a/chrome/browser/ui/window_sizer.cc
|
| +++ b/chrome/browser/ui/window_sizer.cc
|
| @@ -23,14 +23,14 @@ class DefaultMonitorInfoProvider : public MonitorInfoProvider {
|
| public:
|
| // Overridden from MonitorInfoProvider:
|
| virtual gfx::Rect GetPrimaryMonitorWorkArea() const OVERRIDE {
|
| - return gfx::Screen::GetPrimaryMonitorWorkArea();
|
| + return gfx::Screen::GetPrimaryMonitor().work_area();
|
| }
|
| virtual gfx::Rect GetPrimaryMonitorBounds() const OVERRIDE {
|
| - return gfx::Screen::GetPrimaryMonitorBounds();
|
| + return gfx::Screen::GetPrimaryMonitor().bounds();
|
| }
|
| virtual gfx::Rect GetMonitorWorkAreaMatching(
|
| const gfx::Rect& match_rect) const OVERRIDE {
|
| - return gfx::Screen::GetMonitorWorkAreaMatching(match_rect);
|
| + return gfx::Screen::GetMonitorMatching(match_rect).work_area();
|
| }
|
| };
|
|
|
|
|