mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove NativePropertyHooks
This commit is contained in:
parent
6beebd3b4f
commit
967948be06
2 changed files with 2 additions and 44 deletions
|
@ -129,15 +129,6 @@ impl ConstantSpec {
|
|||
}
|
||||
}
|
||||
|
||||
/// Helper structure for cross-origin wrappers for DOM binding objects.
|
||||
pub struct NativePropertyHooks {
|
||||
/// The property arrays for this interface.
|
||||
pub native_properties: &'static NativeProperties,
|
||||
|
||||
/// The NativePropertyHooks instance for the parent interface, if any.
|
||||
pub proto_hooks: Option<&'static NativePropertyHooks>,
|
||||
}
|
||||
|
||||
/// The struct that holds inheritance information for DOM object reflectors.
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct DOMClass {
|
||||
|
@ -148,9 +139,6 @@ pub struct DOMClass {
|
|||
/// The type ID of that interface.
|
||||
pub type_id: TopTypeId,
|
||||
|
||||
/// The NativePropertyHooks for the interface associated with this class.
|
||||
pub native_hooks: &'static NativePropertyHooks,
|
||||
|
||||
/// The HeapSizeOf function wrapper for that interface.
|
||||
pub heap_size_of: unsafe fn(*const libc::c_void) -> usize,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue