mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Addresses issues raised in #24465; removes redundancy in set_bitmap_dimensions
Removed passing test .ini files and moved euclid extensions to euclidext.rs to factor out redundant code
This commit is contained in:
parent
f7fb130a2a
commit
ec2961920b
32 changed files with 211 additions and 131 deletions
|
@ -144,7 +144,7 @@ impl<'a> CanvasPaintThread<'a> {
|
|||
) => {
|
||||
let image_data = self
|
||||
.canvas(canvas_id)
|
||||
.read_pixels(source_rect.to_u32(), image_size.to_u32());
|
||||
.read_pixels(source_rect.to_u64(), image_size.to_u64());
|
||||
self.canvas(other_canvas_id).draw_image(
|
||||
image_data.into(),
|
||||
source_rect.size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue