mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Bug 1331213: Don't make the pres context pointers opaque. r=heycam
I don't know why they were that way, but it makes no sense and tests still pass. MozReview-Commit-ID: HAIuQhqlTtF Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
This commit is contained in:
parent
10a1b887d6
commit
646258e5a0
3 changed files with 8 additions and 10 deletions
|
@ -415,7 +415,6 @@ mod bindings {
|
|||
// for clang.
|
||||
"nsPIDOMWindow", // <- Takes the vtable from a template parameter, and we can't
|
||||
// generate it conditionally.
|
||||
"RawGeckoPresContext", // Just passing it through.
|
||||
"JS::Rooted",
|
||||
"mozilla::Maybe",
|
||||
"gfxSize", // <- union { struct { T width; T height; }; T components[2] };
|
||||
|
|
|
@ -12140,7 +12140,7 @@ pub mod root {
|
|||
pub type RawGeckoNode = root::nsINode;
|
||||
pub type RawGeckoElement = root::mozilla::dom::Element;
|
||||
pub type RawGeckoDocument = root::nsIDocument;
|
||||
pub type RawGeckoPresContext = [u64; 162usize];
|
||||
pub type RawGeckoPresContext = root::nsPresContext;
|
||||
pub type RawGeckoAnimationValueList =
|
||||
root::nsTArray<root::mozilla::PropertyStyleAnimationValuePair>;
|
||||
pub type RawGeckoNodeBorrowed = *const root::RawGeckoNode;
|
||||
|
@ -12149,11 +12149,9 @@ pub mod root {
|
|||
pub type RawGeckoElementBorrowedOrNull = *const root::RawGeckoElement;
|
||||
pub type RawGeckoDocumentBorrowed = *const root::RawGeckoDocument;
|
||||
pub type RawGeckoDocumentBorrowedOrNull = *const root::RawGeckoDocument;
|
||||
pub type RawGeckoPresContextOwned = *mut [u64; 162usize];
|
||||
pub type RawGeckoPresContextBorrowed = *const [u64; 162usize];
|
||||
pub type RawGeckoAnimationValueListBorrowedMut =
|
||||
*mut root::RawGeckoAnimationValueList;
|
||||
pub type RawGeckoPresContextBorrowedMut = *mut [u64; 162usize];
|
||||
pub type RawGeckoPresContextOwned = *mut root::RawGeckoPresContext;
|
||||
pub type RawGeckoPresContextBorrowed = *const root::RawGeckoPresContext;
|
||||
pub type RawGeckoPresContextBorrowedMut = *mut root::RawGeckoPresContext;
|
||||
#[repr(u32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum nsCSSTokenSerializationType {
|
||||
|
|
|
@ -12067,20 +12067,21 @@ pub mod root {
|
|||
pub type RawGeckoNode = root::nsINode;
|
||||
pub type RawGeckoElement = root::mozilla::dom::Element;
|
||||
pub type RawGeckoDocument = root::nsIDocument;
|
||||
pub type RawGeckoPresContext = [u64; 158usize];
|
||||
pub type RawGeckoAnimationValueList =
|
||||
root::nsTArray<root::mozilla::PropertyStyleAnimationValuePair>;
|
||||
pub type RawGeckoPresContext = root::nsPresContext;
|
||||
pub type RawGeckoNodeBorrowed = *const root::RawGeckoNode;
|
||||
pub type RawGeckoNodeBorrowedOrNull = *const root::RawGeckoNode;
|
||||
pub type RawGeckoElementBorrowed = *const root::RawGeckoElement;
|
||||
pub type RawGeckoElementBorrowedOrNull = *const root::RawGeckoElement;
|
||||
pub type RawGeckoDocumentBorrowed = *const root::RawGeckoDocument;
|
||||
pub type RawGeckoDocumentBorrowedOrNull = *const root::RawGeckoDocument;
|
||||
pub type RawGeckoPresContextOwned = *mut [u64; 158usize];
|
||||
pub type RawGeckoPresContextBorrowed = *const [u64; 158usize];
|
||||
pub type RawGeckoAnimationValueListBorrowedMut =
|
||||
*mut root::RawGeckoAnimationValueList;
|
||||
pub type RawGeckoPresContextBorrowedMut = *mut [u64; 158usize];
|
||||
pub type RawGeckoPresContextOwned = *mut root::RawGeckoPresContext;
|
||||
pub type RawGeckoPresContextBorrowed = *const root::RawGeckoPresContext;
|
||||
pub type RawGeckoPresContextBorrowedMut = *mut root::RawGeckoPresContext;
|
||||
#[repr(u32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum nsCSSTokenSerializationType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue