Chromium Code Reviews

Unified Diff: chrome/renderer/print_web_view_helper.cc

Issue 5959008: Remove wstring from l10n_util. Part 2.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/renderer/print_web_view_helper.cc
===================================================================
--- chrome/renderer/print_web_view_helper.cc (revision 70233)
+++ chrome/renderer/print_web_view_helper.cc (working copy)
@@ -184,8 +184,7 @@
render_view_->runModalAlertDialog(
web_view->mainFrame(),
- WideToUTF16Hack(
- l10n_util::GetString(IDS_PRINT_SPOOL_FAILED_ERROR_TEXT)));
+ l10n_util::GetStringUTF16(IDS_PRINT_SPOOL_FAILED_ERROR_TEXT));
}
if (print_web_view_) {

Powered by Google App Engine