summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/print_web_view_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/print_web_view_helper.cc')
-rw-r--r--chrome/renderer/print_web_view_helper.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/renderer/print_web_view_helper.cc b/chrome/renderer/print_web_view_helper.cc
index d5b0a79..5fbd4fe 100644
--- a/chrome/renderer/print_web_view_helper.cc
+++ b/chrome/renderer/print_web_view_helper.cc
@@ -184,8 +184,7 @@ void PrintWebViewHelper::DidFinishPrinting(bool success) {
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_) {