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

Unified Diff: components/printing/test/mock_printer.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/test/mock_printer.cc
diff --git a/components/printing/test/mock_printer.cc b/components/printing/test/mock_printer.cc
index eb2c9c9ce86bb3f5b9630de958715ecb2b735c2a..15d4a333066d3cc9f8ae9d13caed1ccfe3841295 100644
--- a/components/printing/test/mock_printer.cc
+++ b/components/printing/test/mock_printer.cc
@@ -212,7 +212,7 @@ void MockPrinter::PrintPage(const PrintHostMsg_DidPrintPage_Params& params) {
#if defined(OS_MACOSX)
printing::PdfMetafileCg metafile;
#else
- printing::PdfMetafileSkia metafile(printing::PDF_SKIA_DOCUMENT_TYPE);
+ printing::PdfMetafileSkia metafile(printing::SkiaDocumentType::PDF);
#endif
metafile.InitFromData(metafile_data.memory(), params.data_size);
printing::Image image(metafile);

Powered by Google App Engine
This is Rietveld 408576698