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 c804ed350e6257350b4af9ed65e9d4df55f7b59a..479dd11fbcb485210521f32a42657d922f1fbe27 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::GetMonitorNearestPoint(gfx::Point(x, y)).bounds(); |
+ gfx::Screen::GetDisplayNearestPoint(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. |