summaryrefslogtreecommitdiffstats
path: root/chrome/browser/custom_home_pages_table_model.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/custom_home_pages_table_model.cc')
-rw-r--r--chrome/browser/custom_home_pages_table_model.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/custom_home_pages_table_model.cc b/chrome/browser/custom_home_pages_table_model.cc
index f7c9a92..5ada027 100644
--- a/chrome/browser/custom_home_pages_table_model.cc
+++ b/chrome/browser/custom_home_pages_table_model.cc
@@ -142,9 +142,10 @@ SkBitmap CustomHomePagesTableModel::GetIcon(int row) {
}
std::wstring CustomHomePagesTableModel::GetTooltip(int row) {
- return entries_[row].title.empty() ? std::wstring() :
- l10n_util::GetStringF(IDS_OPTIONS_STARTUP_PAGE_TOOLTIP,
- entries_[row].title, FormattedURL(row));
+ return entries_[row].title.empty() ? std::wstring() : UTF16ToWideHack(
+ l10n_util::GetStringFUTF16(IDS_OPTIONS_STARTUP_PAGE_TOOLTIP,
+ WideToUTF16Hack(entries_[row].title),
+ WideToUTF16Hack(FormattedURL(row))));
}
void CustomHomePagesTableModel::SetObserver(TableModelObserver* observer) {