Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renderer Process Crashes in Print Preview Popup Due to Null Return in…
… GetFrame() During Execution. If a web page has a button that triggers a print preview popup, and when the popup appears, clicking the refresh button causes the Renderer process to crash. If loading_for_print_ is true, GetFrame()->Client()->DispatchDidFinishLoadForPrinting() that after the execution is completed, there is a possibility of GetFrame() returning null. So after this, it is necessary to determine whether it is empty. If it is empty, false should be returned. Bug: 1478487 Change-Id: Ieac77cba80f7c0115dfaea1c0dc3731a5b30dd2e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4835376 Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Nate Chapin <[email protected]> Reviewed-by: Chris Harrelson <[email protected]> Commit-Queue: Nate Chapin <[email protected]> Cr-Commit-Position: refs/heads/main@{#1194228}
- Loading branch information