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

Unified Diff: chrome/browser/views/hung_renderer_view.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/views/bug_report_view.cc ('k') | chrome/browser/views/location_bar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/hung_renderer_view.cc
===================================================================
--- chrome/browser/views/hung_renderer_view.cc (revision 10809)
+++ chrome/browser/views/hung_renderer_view.cc (working copy)
@@ -82,7 +82,7 @@
std::wstring HungPagesTableModel::GetText(int row, int column_id) {
DCHECK(row >= 0 && row < RowCount());
- std::wstring title = webcontentses_.at(row)->GetTitle();
+ std::wstring title = UTF16ToWideHack(webcontentses_.at(row)->GetTitle());
if (title.empty())
title = l10n_util::GetString(IDS_TAB_UNTITLED_TITLE);
// TODO(xji): Consider adding a special case if the title text is a URL,
« no previous file with comments | « chrome/browser/views/bug_report_view.cc ('k') | chrome/browser/views/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698