| Index: ui/gfx/screen_mac.mm
|
| diff --git a/ui/gfx/screen_mac.mm b/ui/gfx/screen_mac.mm
|
| index 986f2cd5e1a0318140f5f0d060ec147b044f20d6..d3301f1b4ec0b6ee94f580abd77c86713d301d6f 100644
|
| --- a/ui/gfx/screen_mac.mm
|
| +++ b/ui/gfx/screen_mac.mm
|
| @@ -39,7 +39,8 @@ NSScreen* GetMatchingScreen(const gfx::Rect& match_rect) {
|
|
|
| for (NSScreen* screen in [NSScreen screens]) {
|
| gfx::Rect monitor_area = ConvertCoordinateSystem([screen frame]);
|
| - gfx::Rect intersection = monitor_area.Intersect(match_rect);
|
| + gfx::Rect intersection = monitor_area;
|
| + intersection.Intersect(match_rect);
|
| int area = intersection.width() * intersection.height();
|
| if (area > max_area) {
|
| max_area = area;
|
|
|