forked from chromium/chromium
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check that fixed-scale record filter is non-null
RecordPaintFilter::CreateScaledPaintRecord can return null if it isn't able to compute a scaled record bounds. This can happen when the canvas matrix is not finite (as is the case for the fuzzer bug). This updates the paint op reader and writer to actually check for that condition. Bug: chromium:1217062 Change-Id: I146dca0b72b919358ba6334442c337607a1f64c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2971906 Commit-Queue: Vasiliy Telezhnikov <[email protected]> Auto-Submit: Michael Ludwig <[email protected]> Reviewed-by: Vasiliy Telezhnikov <[email protected]> Cr-Commit-Position: refs/heads/master@{#894278}
- Loading branch information
Showing
3 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters