mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Use specific assertion for canvas
This commit is contained in:
parent
9c13073075
commit
cde99646a6
1 changed files with 1 additions and 1 deletions
|
@ -648,7 +648,7 @@ impl<'a> CanvasPaintThread<'a> {
|
|||
return
|
||||
}
|
||||
|
||||
assert!(image_data_size.width * image_data_size.height * 4.0 == imagedata.len() as f64);
|
||||
assert_eq!(image_data_size.width * image_data_size.height * 4.0, imagedata.len() as f64);
|
||||
|
||||
// Step 1. TODO (neutered data)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue