stylo: Remove unused function.

This commit is contained in:
Emilio Cobos Álvarez 2017-10-13 15:25:04 +02:00
parent 271d2b4ecd
commit 77f115b467
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 0 additions and 16 deletions

View file

@ -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,

View file

@ -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,