stylo: Stop using mStyleIfVisited in Servo

This commit is contained in:
Manish Goregaokar 2017-07-17 11:42:20 -07:00 committed by Manish Goregaokar
parent e78947f8b5
commit 2a49a73f91
5 changed files with 68 additions and 82 deletions

View file

@ -1732,15 +1732,6 @@ pub extern "C" fn Servo_ComputedValues_Inherit(
style.to_outer(data.stylist.device(), parent_style_context, pseudo_info).into_strong()
}
#[no_mangle]
pub extern "C" fn Servo_ComputedValues_GetVisitedStyle(values: ServoComputedValuesBorrowed)
-> ServoStyleContextStrong {
match values.clone_visited_style() {
Some(v) => v.into_strong(),
None => Strong::null(),
}
}
#[no_mangle]
pub extern "C" fn Servo_StyleContext_NewContext(values: ServoComputedValuesBorrowed,
parent: ServoStyleContextBorrowedOrNull,