mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Further changes required by Servo
This commit is contained in:
parent
42d9ec1106
commit
5842cfc127
1 changed files with 4 additions and 7 deletions
|
@ -297,13 +297,10 @@ impl Filter {
|
|||
Err(())
|
||||
}
|
||||
},
|
||||
Filter::Url(ref url) => {
|
||||
if cfg!(feature = "gecko") {
|
||||
Ok(ComputedFilter::Url(ComputedUrl(url.clone())))
|
||||
} else {
|
||||
Err(())
|
||||
}
|
||||
},
|
||||
#[cfg(feature = "gecko")]
|
||||
Filter::Url(ref url) => Ok(ComputedFilter::Url(ComputedUrl(url.clone()))),
|
||||
#[cfg(feature = "servo")]
|
||||
Filter::Url(_) => Err(()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue