fix: check for shared memory handle validity before closing, remove DebugDumpData call (#15402)
This commit is contained in:
parent
41e86efda0
commit
bdda248194
2 changed files with 3 additions and 2 deletions
|
@ -165,7 +165,6 @@ void PrintViewManagerBase::OnDidPrintPage(
|
|||
reinterpret_cast<const unsigned char*>(shared_buf.memory()),
|
||||
params.data_size);
|
||||
|
||||
document->DebugDumpData(bytes.get(), FILE_PATH_LITERAL(".pdf"));
|
||||
print_job_->StartPdfToEmfConversion(
|
||||
bytes, params.page_size, params.content_area, print_text_with_gdi);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue