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