mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
stylo: remove unused Servo_StyleContext_NewContext.
MozReview-Commit-ID: A9BSuTw0GR8
This commit is contained in:
parent
6b8649e012
commit
1bce64f67b
1 changed files with 0 additions and 13 deletions
|
@ -1737,19 +1737,6 @@ pub extern "C" fn Servo_ComputedValues_Inherit(
|
||||||
style.to_outer(data.stylist.device(), parent_style_context, pseudo_info).into_strong()
|
style.to_outer(data.stylist.device(), parent_style_context, pseudo_info).into_strong()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
|
||||||
pub extern "C" fn Servo_StyleContext_NewContext(values: ServoComputedValuesBorrowed,
|
|
||||||
parent: ServoStyleContextBorrowedOrNull,
|
|
||||||
pres_context: bindings::RawGeckoPresContextBorrowed,
|
|
||||||
pseudo_type: CSSPseudoElementType,
|
|
||||||
pseudo_tag: *mut nsIAtom)
|
|
||||||
-> ServoStyleContextStrong {
|
|
||||||
unsafe {
|
|
||||||
(*values).clone().to_outer_helper(pres_context, parent,
|
|
||||||
pseudo_type, pseudo_tag).into_strong()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn Servo_ComputedValues_GetStyleBits(values: ServoComputedValuesBorrowed) -> u64 {
|
pub extern "C" fn Servo_ComputedValues_GetStyleBits(values: ServoComputedValuesBorrowed) -> u64 {
|
||||||
use style::properties::computed_value_flags::*;
|
use style::properties::computed_value_flags::*;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue