aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/utils.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2015-12-18 16:17:41 +0100
committerAnthony Ramine <n.oxyde@gmail.com>2016-01-12 12:34:18 +0100
commit967948be06327997f7c1a6e3c9291e75753ced85 (patch)
tree30fbbc74af611f7ab7ee6ffd50c7f61f8ec3c652 /components/script/dom/bindings/utils.rs
parent6beebd3b4ffe8ded3b3e2b1788b9f98d10e36471 (diff)
downloadservo-967948be06327997f7c1a6e3c9291e75753ced85.tar.gz
servo-967948be06327997f7c1a6e3c9291e75753ced85.zip
Remove NativePropertyHooks
Diffstat (limited to 'components/script/dom/bindings/utils.rs')
-rw-r--r--components/script/dom/bindings/utils.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/components/script/dom/bindings/utils.rs b/components/script/dom/bindings/utils.rs
index 46ea2e78aa1..6173144490e 100644
--- a/components/script/dom/bindings/utils.rs
+++ b/components/script/dom/bindings/utils.rs
@@ -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,
}