style: Update gecko bindings

MozReview-Commit-ID: 3jRR36CYAUg
This commit is contained in:
Ting-Yu Lin 2017-08-03 16:26:46 +08:00
parent 7b28e86501
commit c9e2396f3b
3 changed files with 1029 additions and 886 deletions

View file

@ -14,7 +14,6 @@ use gecko_bindings::structs::mozilla::css::ImageValue;
use gecko_bindings::structs::mozilla::css::URLValue;
use gecko_bindings::structs::mozilla::css::URLValueData;
use gecko_bindings::structs::mozilla::MallocSizeOf;
use gecko_bindings::structs::mozilla::SeenPtrs;
use gecko_bindings::structs::mozilla::Side;
use gecko_bindings::structs::nsIContent;
use gecko_bindings::structs::nsIDocument;
@ -55,6 +54,7 @@ use gecko_bindings::structs::GeckoFontMetrics;
use gecko_bindings::structs::IterationCompositeOperation;
use gecko_bindings::structs::Keyframe;
use gecko_bindings::structs::PropertyValuePair;
use gecko_bindings::structs::SeenPtrs;
use gecko_bindings::structs::ServoBundledURI;
use gecko_bindings::structs::ServoElementSnapshot;
use gecko_bindings::structs::ServoElementSnapshotTable;
@ -1083,8 +1083,8 @@ extern "C" {
pub fn Gecko_DropElementSnapshot(snapshot: ServoElementSnapshotOwned);
}
extern "C" {
pub fn Gecko_HaveSeenPtr(table: *mut SeenPtrs, ptr: *const ::std::os::raw::c_void)
-> bool;
pub fn Gecko_HaveSeenPtr(table: *mut SeenPtrs,
ptr: *const ::std::os::raw::c_void) -> bool;
}
extern "C" {
pub fn Gecko_ResizeTArrayForStrings(array: *mut nsTArray<nsStringRepr>,
@ -1884,9 +1884,10 @@ extern "C" {
pub fn Servo_Element_ClearData(node: RawGeckoElementBorrowed);
}
extern "C" {
pub fn Servo_Element_SizeOfExcludingThis(malloc_size_of: MallocSizeOf,
pub fn Servo_Element_SizeOfExcludingThis(arg1: MallocSizeOf,
seen_ptrs: *mut SeenPtrs,
node: RawGeckoElementBorrowed) -> usize;
node: RawGeckoElementBorrowed)
-> usize;
}
extern "C" {
pub fn Servo_StyleSheet_FromUTF8Bytes(loader: *mut Loader,

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff