Move PropertyBitField out of its module

This commit is contained in:
Simon Sapin 2017-02-26 18:43:13 +01:00
parent 16a34ef6b6
commit c81ebca7df
4 changed files with 47 additions and 53 deletions

View file

@ -1339,7 +1339,7 @@ pub extern "C" fn Servo_GetComputedKeyframeValues(keyframes: RawGeckoKeyframeLis
computed_keyframes: RawGeckoComputedKeyframeValuesListBorrowedMut)
{
use style::properties::declaration_block::Importance;
use style::properties::property_bit_field::PropertyBitField;
use style::properties::PropertyBitField;
use style::values::computed::Context;
let style = ComputedValues::as_arc(&style);
@ -1429,7 +1429,7 @@ pub extern "C" fn Servo_StyleSet_FillKeyframesForName(raw_data: RawServoStyleSet
style: ServoComputedValuesBorrowed,
keyframes: RawGeckoKeyframeListBorrowedMut) -> bool {
use style::gecko_bindings::structs::Keyframe;
use style::properties::property_bit_field::PropertyBitField;
use style::properties::PropertyBitField;
let data = PerDocumentStyleData::from_ffi(raw_data).borrow_mut();
let name = unsafe { Atom::from(name.as_ref().unwrap().as_str_unchecked()) };