Index: components/printing/renderer/print_web_view_helper_linux.cc |
diff --git a/components/printing/renderer/print_web_view_helper_linux.cc b/components/printing/renderer/print_web_view_helper_linux.cc |
index ffa0752aca1f4f850f14de7c8cd3bd43dcaf6e23..910c471105fcc92f781d6d1e74b88cf2f3b34909 100644 |
--- a/components/printing/renderer/print_web_view_helper_linux.cc |
+++ b/components/printing/renderer/print_web_view_helper_linux.cc |
@@ -55,8 +55,8 @@ bool PrintWebViewHelper::PrintPagesNative(blink::WebLocalFrame* frame, |
return false; |
for (int page_number : printed_pages) { |
- PrintPageInternal(params.params, page_number, frame, &metafile, nullptr, |
- nullptr, nullptr); |
+ PrintPageInternal(params.params, page_number, page_count, frame, &metafile, |
+ nullptr, nullptr, nullptr); |
} |
// blink::printEnd() for PDF should be called before metafile is closed. |