diff options
-rw-r--r-- | ports/geckolib/gecko_bindings/bindings.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/geckolib/gecko_bindings/bindings.rs b/ports/geckolib/gecko_bindings/bindings.rs index 550d5c8cc8e..76e96a0ac06 100644 --- a/ports/geckolib/gecko_bindings/bindings.rs +++ b/ports/geckolib/gecko_bindings/bindings.rs @@ -293,7 +293,7 @@ extern "C" { pub fn Servo_StyleSheetHasRules(sheet: *mut RawServoStyleSheet) -> bool; pub fn Servo_InitStyleSet() -> *mut RawServoStyleSet; pub fn Servo_DropStyleSet(set: *mut RawServoStyleSet); - pub fn Servo_ParseStyleAttribute(bytes: *const u8, length: u8, + pub fn Servo_ParseStyleAttribute(bytes: *const u8, length: u32, cache: *mut nsHTMLCSSStyleSheet) -> *mut ServoDeclarationBlock; pub fn Servo_DropDeclarationBlock(declarations: @@ -305,7 +305,7 @@ extern "C" { *mut ServoDeclarationBlock); pub fn Servo_ClearDeclarationBlockCachePointer(declarations: *mut ServoDeclarationBlock); - pub fn Servo_CSSSupports(property: *const u8, property_length: u32, + pub fn Servo_CSSSupports(name: *const u8, name_length: u32, value: *const u8, value_length: u32) -> bool; pub fn Servo_GetComputedValues(node: *mut RawGeckoNode) -> *mut ServoComputedValues; |