| Index: ui/views/widget/widget.cc
|
| diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
|
| index c783f0278f1da30f684da3d903f8ae7b2566f734..3a22b579067fe997f821893fbf0b5e66691598a2 100644
|
| --- a/ui/views/widget/widget.cc
|
| +++ b/ui/views/widget/widget.cc
|
| @@ -442,7 +442,7 @@ void Widget::CenterWindow(const gfx::Size& size) {
|
|
|
| void Widget::SetBoundsConstrained(const gfx::Rect& bounds) {
|
| gfx::Rect work_area =
|
| - gfx::Screen::GetMonitorNearestPoint(bounds.origin()).work_area();
|
| + gfx::Screen::GetDisplayNearestPoint(bounds.origin()).work_area();
|
| if (work_area.IsEmpty()) {
|
| SetBounds(bounds);
|
| } else {
|
|
|