summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/back_forward_menu_model.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/back_forward_menu_model.cc b/chrome/browser/back_forward_menu_model.cc
index 6a95743..986ae26 100644
--- a/chrome/browser/back_forward_menu_model.cc
+++ b/chrome/browser/back_forward_menu_model.cc
@@ -222,7 +222,8 @@ std::wstring BackForwardMenuModel::GetItemLabel(int menu_id) const {
return L"";
NavigationEntry* entry = GetNavigationEntry(menu_id);
- return UTF16ToWideHack(entry->title());
+ return UTF16ToWideHack(entry->GetTitleForDisplay(
+ GetTabContents()->controller()));
}
const SkBitmap& BackForwardMenuModel::GetItemIcon(int menu_id) const {