| Index: ui/views/widget/widget.cc
|
| diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
|
| index d2b27c9c18a675a16cae216ef469262f809ff120..4cfb3db02ba5d72894bf76245a310a3f37c1bea2 100644
|
| --- a/ui/views/widget/widget.cc
|
| +++ b/ui/views/widget/widget.cc
|
| @@ -18,10 +18,10 @@
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/compositor/compositor.h"
|
| #include "ui/compositor/layer.h"
|
| +#include "ui/display/screen.h"
|
| #include "ui/events/event.h"
|
| #include "ui/events/event_utils.h"
|
| #include "ui/gfx/image/image_skia.h"
|
| -#include "ui/gfx/screen.h"
|
| #include "ui/views/controls/menu/menu_controller.h"
|
| #include "ui/views/event_monitor.h"
|
| #include "ui/views/focus/focus_manager.h"
|
| @@ -502,7 +502,7 @@ void Widget::CenterWindow(const gfx::Size& size) {
|
| }
|
|
|
| void Widget::SetBoundsConstrained(const gfx::Rect& bounds) {
|
| - gfx::Rect work_area = gfx::Screen::GetScreen()
|
| + gfx::Rect work_area = display::Screen::GetScreen()
|
| ->GetDisplayNearestPoint(bounds.origin())
|
| .work_area();
|
| if (work_area.IsEmpty()) {
|
|
|