Index: ui/gfx/screen_mac.mm |
=================================================================== |
--- ui/gfx/screen_mac.mm (revision 143412) |
+++ ui/gfx/screen_mac.mm (working copy) |
@@ -157,8 +157,7 @@ |
if (NSMouseInRect(ns_point, [screen frame], NO)) |
return GetDisplayForScreen(screen, screen == primary); |
} |
- NOTREACHED(); |
- return gfx::Display(); |
+ return GetPrimaryDisplay(); |
} |
} // namespace gfx |