diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-11-11 14:47:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-11 14:47:56 -0500 |
commit | 905f714bb4b2959f1735cc7469969696eac56d47 (patch) | |
tree | 39073c7c0990269cd976fe0be6da6156b2992065 /components/script/script_runtime.rs | |
parent | 06e58212cbca2ff6b24f0ad6e1e1c01237da480d (diff) | |
parent | ec2961920b74fbe0345f72e6007c6d42ae852019 (diff) | |
download | servo-905f714bb4b2959f1735cc7469969696eac56d47.tar.gz servo-905f714bb4b2959f1735cc7469969696eac56d47.zip |
Auto merge of #24524 - bblanke:consolidate-size-helpers, r=jdm
Make offscreen canvas rendering context use offscreen canvas' size; Consolidate size helpers
<!-- Please describe your changes on the following line: -->
Addresses issues raised in the review of PR #24518 and includes changes to 17 tests' metadata for those that now PASS.
Contains fixes in PR #24518:
Updated the offscreen canvas rendering context to use the offscreen canvas' size. This involved upgrading several methods to accept u64 sizes.
Additionally, the code in OffscreenCanvas::SetWidth() and OffscreenCanvas::SetHeight() was updated to send CanvasMsg::Recreate to 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 #24465 and fix #24536
<!-- Either: -->
- [X] There are tests for these changes – 17 were updated to PASS
Diffstat (limited to 'components/script/script_runtime.rs')
0 files changed, 0 insertions, 0 deletions