Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Unified Diff: chrome/browser/views/blocked_popup_container.cc

Issue 39022: Convert NavigationEntry title to string16. TabContents::GetTitle no longer ne... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/task_manager_resource_providers.cc ('k') | chrome/browser/views/bug_report_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/blocked_popup_container.cc
===================================================================
--- chrome/browser/views/blocked_popup_container.cc (revision 10809)
+++ chrome/browser/views/blocked_popup_container.cc (working copy)
@@ -298,10 +298,10 @@
std::wstring BlockedPopupContainer::GetDisplayStringForItem(int index) {
const GURL& url = blocked_popups_[index].first->GetURL().GetOrigin();
- std::wstring label =
- l10n_util::GetStringF(IDS_POPUP_TITLE_FORMAT,
- UTF8ToWide(url.possibly_invalid_spec()),
- blocked_popups_[index].first->GetTitle());
+ std::wstring label = l10n_util::GetStringF(
+ IDS_POPUP_TITLE_FORMAT,
+ UTF8ToWide(url.possibly_invalid_spec()),
+ UTF16ToWideHack(blocked_popups_[index].first->GetTitle()));
return label;
}
« no previous file with comments | « chrome/browser/task_manager_resource_providers.cc ('k') | chrome/browser/views/bug_report_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698