Index: printing/printed_document.cc |
=================================================================== |
--- printing/printed_document.cc (revision 55911) |
+++ printing/printed_document.cc (working copy) |
@@ -198,7 +198,7 @@ |
// 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( |