From 6b568b49fd7169c0fe97e93909f82cb242f807cf Mon Sep 17 00:00:00 2001 From: Bobby Holley Date: Tue, 26 Jul 2016 14:39:49 -0700 Subject: [PATCH] Regenerate bindings. This picks up the changes in https://bugzilla.mozilla.org/show_bug.cgi?id=1289624 --- ports/geckolib/gecko_bindings/bindings.rs | 5 +++++ ports/geckolib/gecko_bindings/tools/regen.py | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ports/geckolib/gecko_bindings/bindings.rs b/ports/geckolib/gecko_bindings/bindings.rs index e2bce737e7d..9dd1a4e0b00 100644 --- a/ports/geckolib/gecko_bindings/bindings.rs +++ b/ports/geckolib/gecko_bindings/bindings.rs @@ -135,6 +135,7 @@ use structs::nsStyleCoord_CalcValue as CalcValue; use structs::nsStyleCoord_Calc as Calc; use structs::nsRestyleHint; use structs::ServoElementSnapshot; +use structs::nsChangeHint; use structs::SheetParsingMode; use structs::nsMainThreadPtrHandle; use structs::nsMainThreadPtrHolder; @@ -293,6 +294,10 @@ extern "C" { pub fn Gecko_GetNodeFlags(node: *mut RawGeckoNode) -> u32; pub fn Gecko_SetNodeFlags(node: *mut RawGeckoNode, flags: u32); pub fn Gecko_UnsetNodeFlags(node: *mut RawGeckoNode, flags: u32); + pub fn Gecko_CalcAndStoreStyleDifference(element: *mut RawGeckoElement, + newstyle: + *mut ServoComputedValues) + -> nsChangeHint; pub fn Gecko_EnsureTArrayCapacity(array: *mut ::std::os::raw::c_void, capacity: usize, elem_size: usize); pub fn Gecko_EnsureImageLayersLength(layers: *mut nsStyleImageLayers, diff --git a/ports/geckolib/gecko_bindings/tools/regen.py b/ports/geckolib/gecko_bindings/tools/regen.py index 4a3ec428a61..29dc162a027 100755 --- a/ports/geckolib/gecko_bindings/tools/regen.py +++ b/ports/geckolib/gecko_bindings/tools/regen.py @@ -126,8 +126,7 @@ COMPILATION_TARGETS = { "nsStyleImageLayers::Layer", "nsStyleImageLayers::LayerType", "nsStyleUnit", "nsStyleUnion", "nsStyleCoord::CalcValue", "nsStyleCoord::Calc", "nsRestyleHint", "ServoElementSnapshot", - - "SheetParsingMode", "nsMainThreadPtrHandle", + "nsChangeHint", "SheetParsingMode", "nsMainThreadPtrHandle", "nsMainThreadPtrHolder", "nscolor", "nsFont", "FontFamilyList", "FontFamilyType", "nsIAtom", ],