mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Fix servo build.
This commit is contained in:
parent
33d39d37a2
commit
031cb05c67
3 changed files with 7 additions and 3 deletions
|
@ -1155,9 +1155,9 @@ bitflags! {
|
|||
fn change_bits_for_longhand(longhand: LonghandId) -> WillChangeBits {
|
||||
let mut flags = match longhand {
|
||||
LonghandId::Opacity => WillChangeBits::OPACITY,
|
||||
LonghandId::Transform | LonghandId::Translate | LonghandId::Rotate | LonghandId::Scale => {
|
||||
WillChangeBits::TRANSFORM
|
||||
},
|
||||
LonghandId::Transform => WillChangeBits::TRANSFORM,
|
||||
#[cfg(feature = "gecko")]
|
||||
LonghandId::Translate | LonghandId::Rotate | LonghandId::Scale => WillChangeBits::TRANSFORM,
|
||||
_ => WillChangeBits::empty(),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue