File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,17 @@ majority of changes originally come from these PRs:
11
11
This patch also fixes callback for manual user cancellation and success.
12
12
13
13
diff --git a/chrome/browser/printing/print_job.cc b/chrome/browser/printing/print_job.cc
14
- index 668a14bff461e83b2c6d9d7f23d9674ff081ef12..b0ba36a3c670a21aa5223d03e35502e69d29a7d2 100644
14
+ index 668a14bff461e83b2c6d9d7f23d9674ff081ef12..674f141e80c0316fd47558c4d428a9706ac5a7b6 100644
15
15
--- a/chrome/browser/printing/print_job.cc
16
16
+++ b/chrome/browser/printing/print_job.cc
17
- @@ -356,9 +356,11 @@ void PrintJob::StartPdfToEmfConversion(
17
+ @@ -353,12 +353,14 @@ void PrintJob::StartPdfToEmfConversion(
18
+ // TODO(thestig): Figure out why crbug.com/1083911 occurred, which is likely
19
+ // because |web_contents| was null. As a result, this section has many more
20
+ // pointer checks to avoid crashing.
21
+ + #if 0
18
22
content::WebContents* web_contents = worker_->GetWebContents();
19
23
content::BrowserContext* context =
20
24
web_contents ? web_contents->GetBrowserContext() : nullptr;
21
- + #if 0
22
25
PrefService* prefs =
23
26
context ? Profile::FromBrowserContext(context)->GetPrefs() : nullptr;
24
27
- bool print_with_reduced_rasterization = PrintWithReducedRasterization(prefs);
You can’t perform that action at this time.
0 commit comments