mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix Servo build.
This commit is contained in:
parent
164bfbcb40
commit
2a5007926d
9 changed files with 26 additions and 17 deletions
|
@ -51,6 +51,8 @@ impl ToLayout for Filter {
|
|||
GenericFilter::Sepia(amount) => wr::FilterOp::Sepia(amount.0),
|
||||
// Statically check that DropShadow is impossible.
|
||||
GenericFilter::DropShadow(ref shadow) => match *shadow {},
|
||||
// Statically check that Url is impossible.
|
||||
GenericFilter::Url(ref url) => match *url {},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue