summaryrefslogtreecommitdiffstats
path: root/printing/printed_document.cc
diff options
context:
space:
mode:
Diffstat (limited to 'printing/printed_document.cc')
-rw-r--r--printing/printed_document.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/printed_document.cc b/printing/printed_document.cc
index ec040d4..f75a716 100644
--- a/printing/printed_document.cc
+++ b/printing/printed_document.cc
@@ -198,7 +198,7 @@ void PrintedDocument::PrintHeaderFooter(gfx::NativeDrawingContext context,
// May happen if document name or url is empty.
return;
}
- const gfx::Size string_size(font.GetStringWidth(output), font.height());
+ const gfx::Size string_size(font.GetStringWidth(output), font.GetHeight());
gfx::Rect bounding;
bounding.set_height(string_size.height());
const gfx::Rect& overlay_area(