mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #16913 - jdm:canvas2d, r=jdm
Make canvas origin clean checks use origin of image response Adapted from #15887. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #15409 - [X] There are tests for these changes <!-- 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/16913) <!-- Reviewable:end -->
This commit is contained in:
commit
62690887c1
21 changed files with 78 additions and 92 deletions
|
@ -378,7 +378,7 @@ impl ImageFragmentInfo {
|
|||
});
|
||||
|
||||
let (image, metadata) = match image_or_metadata {
|
||||
Some(ImageOrMetadataAvailable::ImageAvailable(i)) => {
|
||||
Some(ImageOrMetadataAvailable::ImageAvailable(i, _)) => {
|
||||
(Some(i.clone()), Some(ImageMetadata { height: i.height, width: i.width } ))
|
||||
}
|
||||
Some(ImageOrMetadataAvailable::MetadataAvailable(m)) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue