style: Fix servo build.

This commit is contained in:
Emilio Cobos Álvarez 2018-11-05 12:39:54 +01:00
parent 64e70e28fc
commit ac6f921588
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 17 additions and 3 deletions

View file

@ -18,7 +18,7 @@ use num_traits::Zero;
use properties::{CSSWideKeyword, PropertyDeclaration};
use properties::longhands;
use properties::longhands::visibility::computed_value::T as Visibility;
use properties::{LonghandId, ShorthandId};
use properties::LonghandId;
use servo_arc::Arc;
use smallvec::SmallVec;
use std::{cmp, ptr};
@ -50,6 +50,7 @@ use void::{self, Void};
#[allow(non_upper_case_globals)]
impl From<nsCSSPropertyID> for TransitionProperty {
fn from(property: nsCSSPropertyID) -> TransitionProperty {
use properties::ShorthandId;
match property {
% for prop in data.longhands:
${prop.nscsspropertyid()} => {