mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
adding image metadata notification capabilities to image cache
This commit is contained in:
parent
d1ff330ba8
commit
167ffa7a95
15 changed files with 269 additions and 63 deletions
|
@ -444,7 +444,7 @@ impl CanvasRenderingContext2D {
|
|||
|
||||
let img = match self.request_image_from_cache(url) {
|
||||
ImageResponse::Loaded(img) => img,
|
||||
ImageResponse::PlaceholderLoaded(_) | ImageResponse::None => {
|
||||
ImageResponse::PlaceholderLoaded(_) | ImageResponse::None | ImageResponse::MetadataLoaded(_) => {
|
||||
return None;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue