mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
stylo: Remove unused function.
This commit is contained in:
parent
271d2b4ecd
commit
77f115b467
2 changed files with 0 additions and 16 deletions
|
@ -2926,10 +2926,6 @@ extern "C" {
|
|||
set: RawServoStyleSetBorrowed)
|
||||
-> ServoStyleContextStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_ResolveStyleAllowStale(element: RawGeckoElementBorrowed)
|
||||
-> ServoStyleContextStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_ResolvePseudoStyle(element: RawGeckoElementBorrowed,
|
||||
pseudo_type: CSSPseudoElementType,
|
||||
|
|
|
@ -3158,18 +3158,6 @@ pub extern "C" fn Servo_ResolveStyle(
|
|||
data.styles.primary().clone().into()
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn Servo_ResolveStyleAllowStale(
|
||||
element: RawGeckoElementBorrowed,
|
||||
) -> ServoStyleContextStrong {
|
||||
let element = GeckoElement(element);
|
||||
debug!("Servo_ResolveStyleAllowStale: {:?}", element);
|
||||
let data =
|
||||
element.borrow_data().expect("Resolving style on unstyled element");
|
||||
assert!(data.has_styles(), "Resolving style on unstyled element");
|
||||
data.styles.primary().clone().into()
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn Servo_ResolveStyleLazily(
|
||||
element: RawGeckoElementBorrowed,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue