diff options
Diffstat (limited to 'printing/printed_document.cc')
-rw-r--r-- | printing/printed_document.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/printed_document.cc b/printing/printed_document.cc index 1f2a939..45603b5 100644 --- a/printing/printed_document.cc +++ b/printing/printed_document.cc @@ -239,7 +239,7 @@ void PrintedDocument::PrintHeaderFooter(gfx::NativeDrawingContext context, if (string_size.width() > bounding.width()) { if (line == PageOverlays::kUrl) { output = UTF16ToWideHack(ui::ElideUrl(url(), font, bounding.width(), - std::wstring())); + std::string())); } else { output = UTF16ToWideHack(ui::ElideText(WideToUTF16Hack(output), font, bounding.width(), false)); |