From f491f61bb36f2690ac986fdef59b07e20c8bda31 Mon Sep 17 00:00:00 2001 From: Cameron McCormack Date: Sun, 16 Oct 2016 11:03:43 +0800 Subject: [PATCH] Regenerate bindings. MozReview-Commit-ID: JqgkZ4zjQER --- components/style/gecko_bindings/bindings.rs | 15 +++++++++++++++ components/style/gecko_bindings/structs_debug.rs | 2 +- .../style/gecko_bindings/structs_release.rs | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/components/style/gecko_bindings/bindings.rs b/components/style/gecko_bindings/bindings.rs index 470cd3fa524..7d29314564b 100644 --- a/components/style/gecko_bindings/bindings.rs +++ b/components/style/gecko_bindings/bindings.rs @@ -463,6 +463,21 @@ extern "C" { legacy_syntax: bool, stops: u32) -> *mut nsStyleGradient; } +extern "C" { + pub fn Gecko_SetListStyleImageNone(style_struct: *mut nsStyleList); +} +extern "C" { + pub fn Gecko_SetListStyleImage(style_struct: *mut nsStyleList, + string_bytes: *const u8, + string_length: u32, + base_uri: *mut ThreadSafeURIHolder, + referrer: *mut ThreadSafeURIHolder, + principal: *mut ThreadSafePrincipalHolder); +} +extern "C" { + pub fn Gecko_CopyListStyleImageFrom(dest: *mut nsStyleList, + src: *const nsStyleList); +} extern "C" { pub fn Gecko_SetMozBinding(style_struct: *mut nsStyleDisplay, string_bytes: *const u8, string_length: u32, diff --git a/components/style/gecko_bindings/structs_debug.rs b/components/style/gecko_bindings/structs_debug.rs index cf293901787..0b5b95d840f 100644 --- a/components/style/gecko_bindings/structs_debug.rs +++ b/components/style/gecko_bindings/structs_debug.rs @@ -10440,8 +10440,8 @@ fn bindgen_test_layout_nsStyleQuoteValues() { #[derive(Debug)] pub struct nsStyleList { pub mListStylePosition: u8, + pub mListStyleImage: RefPtr, pub mCounterStyle: RefPtr, - pub mListStyleImage: RefPtr, pub mQuotes: RefPtr, pub mImageRegion: nsRect, } diff --git a/components/style/gecko_bindings/structs_release.rs b/components/style/gecko_bindings/structs_release.rs index b06bce86a41..5695b8e8423 100644 --- a/components/style/gecko_bindings/structs_release.rs +++ b/components/style/gecko_bindings/structs_release.rs @@ -10385,8 +10385,8 @@ fn bindgen_test_layout_nsStyleQuoteValues() { #[derive(Debug)] pub struct nsStyleList { pub mListStylePosition: u8, + pub mListStyleImage: RefPtr, pub mCounterStyle: RefPtr, - pub mListStyleImage: RefPtr, pub mQuotes: RefPtr, pub mImageRegion: nsRect, }