Index: chrome/browser/tab_contents/navigation_entry.cc |
=================================================================== |
--- chrome/browser/tab_contents/navigation_entry.cc (revision 69274) |
+++ chrome/browser/tab_contents/navigation_entry.cc (working copy) |
@@ -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 @@ |
} 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_; |
} |