mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Pass a RawServoStyleSet to Servo_GetComputedValuesForAnonymousBox.
This commit is contained in:
parent
fb0237d85c
commit
2c63de2492
2 changed files with 5 additions and 3 deletions
|
@ -25,7 +25,6 @@ use gecko_style_structs::nsStyleSVGReset;
|
|||
use gecko_style_structs::nsStyleColumn;
|
||||
use gecko_style_structs::nsStyleEffects;
|
||||
|
||||
|
||||
pub enum nsIAtom { }
|
||||
pub enum nsINode { }
|
||||
pub type RawGeckoNode = nsINode;
|
||||
|
@ -86,7 +85,8 @@ extern "C" {
|
|||
-> *mut ServoComputedValues;
|
||||
pub fn Servo_GetComputedValuesForAnonymousBox(parentStyleOrNull:
|
||||
*mut ServoComputedValues,
|
||||
pseudoTag: *mut nsIAtom)
|
||||
pseudoTag: *mut nsIAtom,
|
||||
set: *mut RawServoStyleSet)
|
||||
-> *mut ServoComputedValues;
|
||||
pub fn Servo_AddRefComputedValues(arg1: *mut ServoComputedValues);
|
||||
pub fn Servo_ReleaseComputedValues(arg1: *mut ServoComputedValues);
|
||||
|
|
|
@ -182,8 +182,10 @@ pub extern "C" fn Servo_GetComputedValues(element: *mut RawGeckoElement)
|
|||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn Servo_GetComputedValuesForAnonymousBox(_parentStyleOrNull: *mut ServoComputedValues,
|
||||
_pseudoTag: *mut nsIAtom)
|
||||
_pseudoTag: *mut nsIAtom,
|
||||
raw_data: *mut RawServoStyleSet)
|
||||
-> *mut ServoComputedValues {
|
||||
let _data = PerDocumentStyleData::borrow_mut_from_raw(raw_data);
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue