mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #24426 - servo:wrup, r=jdm,nox
Update webrender <!-- 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/24426) <!-- Reviewable:end -->
This commit is contained in:
commit
7da8d75a7e
19 changed files with 124 additions and 89 deletions
|
@ -125,7 +125,7 @@ impl<'a> CanvasPaintThread<'a> {
|
|||
) => {
|
||||
let data = imagedata.map_or_else(
|
||||
|| vec![0; image_size.width as usize * image_size.height as usize * 4],
|
||||
|bytes| bytes.into(),
|
||||
|bytes| bytes.into_vec(),
|
||||
);
|
||||
self.canvas(canvas_id).draw_image(
|
||||
data,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue