Index: ui/views/widget/tooltip_manager.cc |
diff --git a/ui/views/widget/tooltip_manager.cc b/ui/views/widget/tooltip_manager.cc |
index f1a85fe2df44b8ac981e98a10f99a66249b750ea..94abf0fffd9da0466762f7def2f65d0e3f7ae6ab 100644 |
--- a/ui/views/widget/tooltip_manager.cc |
+++ b/ui/views/widget/tooltip_manager.cc |
@@ -30,7 +30,7 @@ int TooltipManager::GetMaxWidth(const gfx::Display& display) { |
void TooltipManager::TrimTooltipText(base::string16* text) { |
// Clamp the tooltip length to kMaxTooltipLength so that we don't |
// accidentally DOS the user with a mega tooltip. |
- *text = gfx::TruncateString(*text, kMaxTooltipLength); |
+ *text = gfx::TruncateString(*text, kMaxTooltipLength, true); |
} |
} // namespace views |