aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBobby Holley <bobbyholley@gmail.com>2016-07-26 14:39:49 -0700
committerBobby Holley <bobbyholley@gmail.com>2016-07-26 16:32:40 -0700
commit6b568b49fd7169c0fe97e93909f82cb242f807cf (patch)
treec15f45dcf9cd472ed6cef22b8068fa0b6e647f09
parent8821fbcb6b6a4e2346e1f8eace8cb1d961a00263 (diff)
downloadservo-6b568b49fd7169c0fe97e93909f82cb242f807cf.tar.gz
servo-6b568b49fd7169c0fe97e93909f82cb242f807cf.zip
Regenerate bindings.
This picks up the changes in https://bugzilla.mozilla.org/show_bug.cgi?id=1289624
-rw-r--r--ports/geckolib/gecko_bindings/bindings.rs5
-rwxr-xr-xports/geckolib/gecko_bindings/tools/regen.py3
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",
],