mirror of
https://github.com/servo/servo.git
synced 2025-06-19 14:48:59 +01:00
Clear canvas thread state on recreation. <!-- Please describe your changes on the following line: --> The canvas rendering context is cleared when it is recreated, but not the matching state in the canvas paint thread. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #17533 - [X] These changes do not require tests because the css-paint-api tests test for this already. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17609) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
canvas_paint_thread.rs | ||
Cargo.toml | ||
lib.rs | ||
webgl_paint_thread.rs |