Index: ui/views/widget/tooltip_manager_win.cc |
diff --git a/ui/views/widget/tooltip_manager_win.cc b/ui/views/widget/tooltip_manager_win.cc |
index b805f1752b19dc1f3a96a9504ed3a0d064d8bac4..0e5ea79eb923087bc703a2ce05ada5dfebb00ba2 100644 |
--- a/ui/views/widget/tooltip_manager_win.cc |
+++ b/ui/views/widget/tooltip_manager_win.cc |
@@ -61,7 +61,7 @@ gfx::Font TooltipManager::GetDefaultFont() { |
// static |
int TooltipManager::GetMaxWidth(int x, int y) { |
gfx::Rect monitor_bounds = |
- gfx::Screen::GetMonitorAreaNearestPoint(gfx::Point(x, y)); |
+ gfx::Screen::GetMonitorNearestPoint(gfx::Point(x, y)).bounds(); |
// Allow the tooltip to be almost as wide as the screen. |
// Otherwise, we would truncate important text, since we're not word-wrapping |
// the text onto multiple lines. |