| Index: chrome/renderer/print_web_view_helper_linux.cc
|
| diff --git a/chrome/renderer/print_web_view_helper_linux.cc b/chrome/renderer/print_web_view_helper_linux.cc
|
| index 4798c71d7eeac2eef2f0aef4ffcf323d0cc3761c..1792088926065e9f035c6f55deb4380f965b5d38 100644
|
| --- a/chrome/renderer/print_web_view_helper_linux.cc
|
| +++ b/chrome/renderer/print_web_view_helper_linux.cc
|
| @@ -212,9 +212,11 @@ void PrintWebViewHelper::PrintPage(const ViewMsg_PrintPage_Params& params,
|
| &margin_bottom_in_points,
|
| &margin_left_in_points);
|
|
|
| + gfx::Size page_size(static_cast<int>(content_width_in_points),
|
| + static_cast<int>(content_height_in_points));
|
| +
|
| cairo_t* cairo_context =
|
| - metafile->StartPage(content_width_in_points,
|
| - content_height_in_points,
|
| + metafile->StartPage(page_size,
|
| margin_top_in_points,
|
| margin_right_in_points,
|
| margin_bottom_in_points,
|
|
|