Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Unified Diff: components/printing/renderer/print_web_view_helper_linux.cc

Issue 2829973002: add customized printing setting for headless (Closed)
Patch Set: add skia as public_deps instead Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698