| Index: ui/gfx/screen_gtk.cc
|
| diff --git a/ui/gfx/screen_gtk.cc b/ui/gfx/screen_gtk.cc
|
| index f3c3b1ba2630123c1b38b8582f5dff7ec30e9619..83f38b981818262db7d8a99ad4694828c4f6e441 100644
|
| --- a/ui/gfx/screen_gtk.cc
|
| +++ b/ui/gfx/screen_gtk.cc
|
| @@ -157,8 +157,7 @@ class ScreenGtk : public gfx::Screen {
|
| gfx::Display display(0, bounds);
|
| gfx::Rect rect;
|
| if (GetScreenWorkArea(&rect)) {
|
| - bounds.Intersect(rect);
|
| - display.set_work_area(bounds);
|
| + display.set_work_area(gfx::Intersection(rect, bounds));
|
| } else {
|
| // Return the best we've got.
|
| display.set_work_area(bounds);
|
|
|