File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,23 @@ majority of changes originally come from these PRs:
10
10
11
11
This patch also fixes callback for manual user cancellation and success.
12
12
13
+ diff --git a/chrome/browser/printing/print_job.cc b/chrome/browser/printing/print_job.cc
14
+ index 668a14bff461e83b2c6d9d7f23d9674ff081ef12..b0ba36a3c670a21aa5223d03e35502e69d29a7d2 100644
15
+ --- a/chrome/browser/printing/print_job.cc
16
+ +++ b/chrome/browser/printing/print_job.cc
17
+ @@ -356,9 +356,11 @@ void PrintJob::StartPdfToEmfConversion(
18
+ content::WebContents* web_contents = worker_->GetWebContents();
19
+ content::BrowserContext* context =
20
+ web_contents ? web_contents->GetBrowserContext() : nullptr;
21
+ + #if 0
22
+ PrefService* prefs =
23
+ context ? Profile::FromBrowserContext(context)->GetPrefs() : nullptr;
24
+ - bool print_with_reduced_rasterization = PrintWithReducedRasterization(prefs);
25
+ + #endif
26
+ + bool print_with_reduced_rasterization = PrintWithReducedRasterization(nullptr);
27
+
28
+ using RenderMode = PdfRenderSettings::Mode;
29
+ RenderMode mode;
13
30
diff --git a/chrome/browser/printing/print_job_worker.cc b/chrome/browser/printing/print_job_worker.cc
14
31
index adb208ba3589e32536527219aaf4e89e3ee3311a..301f6416898445eed814d67901254ef8e5915e2a 100644
15
32
--- a/chrome/browser/printing/print_job_worker.cc
You can’t perform that action at this time.
0 commit comments