mirror of
https://github.com/servo/servo.git
synced 2025-07-21 22:33:41 +01:00
Remove the resolve logic from decode task
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
This commit is contained in:
parent
35aacbe140
commit
eee6096d50
1 changed files with 0 additions and 5 deletions
|
@ -1184,11 +1184,6 @@ impl HTMLImageElement {
|
|||
matches!(self.current_request.borrow().state, State::Broken)
|
||||
{
|
||||
self.reject_image_decode_promises();
|
||||
} else if matches!(
|
||||
self.current_request.borrow().state,
|
||||
State::CompletelyAvailable
|
||||
) {
|
||||
self.resolve_image_decode_promises();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue