Index: components/printing/renderer/print_web_view_helper_pdf_win.cc |
diff --git a/components/printing/renderer/print_web_view_helper_pdf_win.cc b/components/printing/renderer/print_web_view_helper_pdf_win.cc |
index 9c61a794a4c47ab3d55e691297aa01a913ffe570..d32141d81f5d21b3468a1f36da1e6b54cd517726 100644 |
--- a/components/printing/renderer/print_web_view_helper_pdf_win.cc |
+++ b/components/printing/renderer/print_web_view_helper_pdf_win.cc |
@@ -30,8 +30,8 @@ bool PrintWebViewHelper::PrintPagesNative(blink::WebLocalFrame* frame, |
CHECK(metafile.Init()); |
for (size_t i = 0; i < printed_pages.size(); ++i) { |
- PrintPageInternal(params.params, printed_pages[i], frame, &metafile, |
- &page_size_in_dpi[i], &content_area_in_dpi[i], |
+ PrintPageInternal(params.params, printed_pages[i], page_count, frame, |
+ &metafile, &page_size_in_dpi[i], &content_area_in_dpi[i], |
&printable_area_in_dpi[i]); |
} |