diff options
Diffstat (limited to 'chrome/browser/tab_contents/navigation_entry.cc')
-rw-r--r-- | chrome/browser/tab_contents/navigation_entry.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/navigation_entry.cc b/chrome/browser/tab_contents/navigation_entry.cc index e09a99c..a14fc08 100644 --- a/chrome/browser/tab_contents/navigation_entry.cc +++ b/chrome/browser/tab_contents/navigation_entry.cc @@ -5,6 +5,7 @@ #include "chrome/browser/tab_contents/navigation_entry.h" #include "app/resource_bundle.h" +#include "app/text_elider.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "chrome/browser/prefs/pref_service.h" @@ -102,7 +103,9 @@ const string16& NavigationEntry::GetTitleForDisplay( } else if (!url_.is_empty()) { title = net::FormatUrl(url_, languages); } - ElideString(UTF16ToWideHack(title), chrome::kMaxTitleChars, &elided_title); + gfx::ElideString(UTF16ToWideHack(title), + chrome::kMaxTitleChars, + &elided_title); cached_display_title_ = WideToUTF16Hack(elided_title); return cached_display_title_; } |