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

Unified Diff: components/printing/common/print_messages.cc

Issue 2920013002: Use pdf compositor service for printing when OOPIF is enabled
Patch Set: rebase Created 3 years, 4 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/common/print_messages.cc
diff --git a/components/printing/common/print_messages.cc b/components/printing/common/print_messages.cc
index de036345130c03e43e12d01236648e1c3b0b37a2..4a7c94d1cdd0f2a8e695407ecc18feacf3808594 100644
--- a/components/printing/common/print_messages.cc
+++ b/components/printing/common/print_messages.cc
@@ -61,7 +61,8 @@ PrintMsg_Print_Params::PrintMsg_Print_Params()
display_header_footer(false),
title(),
url(),
- should_print_backgrounds(false) {}
+ should_print_backgrounds(false),
+ printed_doc_type(printing::SkiaDocumentType::PDF) {}
PrintMsg_Print_Params::PrintMsg_Print_Params(
const PrintMsg_Print_Params& other) = default;
@@ -89,6 +90,7 @@ void PrintMsg_Print_Params::Reset() {
title = base::string16();
url = base::string16();
should_print_backgrounds = false;
+ printed_doc_type = printing::SkiaDocumentType::PDF;
}
PrintMsg_PrintPages_Params::PrintMsg_PrintPages_Params()

Powered by Google App Engine
This is Rietveld 408576698