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

Unified Diff: chrome/browser/printing/print_view_manager.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/navigation_entry_unittest.cc ('k') | chrome/browser/tab_contents/navigation_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_view_manager.cc
===================================================================
--- chrome/browser/printing/print_view_manager.cc (revision 10809)
+++ chrome/browser/printing/print_view_manager.cc (working copy)
@@ -118,7 +118,7 @@
}
std::wstring PrintViewManager::RenderSourceName() {
- std::wstring name(owner_.GetTitle());
+ std::wstring name(UTF16ToWideHack(owner_.GetTitle()));
if (name.empty())
name = l10n_util::GetString(IDS_DEFAULT_PRINT_DOCUMENT_TITLE);
return name;
« no previous file with comments | « chrome/browser/navigation_entry_unittest.cc ('k') | chrome/browser/tab_contents/navigation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698