mirror of
https://github.com/servo/servo.git
synced 2025-09-03 19:48:21 +01:00
stylo: Remove FFI calls for fetching style structs from ServoComputedValues
This commit is contained in:
parent
ff4bc5a2c6
commit
e78947f8b5
4 changed files with 6 additions and 123 deletions
|
@ -4861,7 +4861,7 @@ static mut EMPTY_VARIABLES_STRUCT: Option<nsStyleVariables> = None;
|
|||
|
||||
#[no_mangle]
|
||||
#[allow(non_snake_case)]
|
||||
pub unsafe extern "C" fn Servo_GetStyleVariables(_cv: ServoComputedValuesBorrowedOrNull)
|
||||
pub unsafe extern "C" fn Servo_GetEmptyVariables()
|
||||
-> *const nsStyleVariables {
|
||||
EMPTY_VARIABLES_STRUCT.as_ref().unwrap()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue