| Index: chrome/browser/renderer_host/render_widget_host_view_win.cc
|
| diff --git a/chrome/browser/renderer_host/render_widget_host_view_win.cc b/chrome/browser/renderer_host/render_widget_host_view_win.cc
|
| index d3a95b18bae6ae4a4e491867f13fcfa9889deb57..059f06a17f2e24be8d5d9292396da65bcf707c3d 100644
|
| --- a/chrome/browser/renderer_host/render_widget_host_view_win.cc
|
| +++ b/chrome/browser/renderer_host/render_widget_host_view_win.cc
|
| @@ -49,6 +49,7 @@
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/l10n/l10n_util_win.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| +#include "ui/base/text/text_elider.h"
|
| #include "ui/base/view_prop.h"
|
| #include "ui/base/win/hwnd_util.h"
|
| #include "ui/gfx/canvas.h"
|
| @@ -751,7 +752,7 @@ void RenderWidgetHostViewWin::SetTooltipText(const std::wstring& tooltip_text) {
|
| // accidentally DOS the user with a mega tooltip (since Windows doesn't seem
|
| // to do this itself).
|
| const std::wstring& new_tooltip_text =
|
| - l10n_util::TruncateString(tooltip_text, kMaxTooltipLength);
|
| + ui::TruncateString(tooltip_text, kMaxTooltipLength);
|
|
|
| if (new_tooltip_text != tooltip_text_) {
|
| tooltip_text_ = new_tooltip_text;
|
|
|