diff options
-rw-r--r-- | ports/geckolib/bindings.rs | 4 | ||||
-rw-r--r-- | ports/geckolib/glue.rs | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/ports/geckolib/bindings.rs b/ports/geckolib/bindings.rs index 10cb38cffbe..037d55477ca 100644 --- a/ports/geckolib/bindings.rs +++ b/ports/geckolib/bindings.rs @@ -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); diff --git a/ports/geckolib/glue.rs b/ports/geckolib/glue.rs index 1bb4797e92e..be5263ef430 100644 --- a/ports/geckolib/glue.rs +++ b/ports/geckolib/glue.rs @@ -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!(); } |