diff options
Diffstat (limited to 'components/script/dom/bindings/js.rs')
-rw-r--r-- | components/script/dom/bindings/js.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/components/script/dom/bindings/js.rs b/components/script/dom/bindings/js.rs index f591bb8b996..a6af7680a96 100644 --- a/components/script/dom/bindings/js.rs +++ b/components/script/dom/bindings/js.rs @@ -373,12 +373,6 @@ impl<T: Reflectable> MutNullableHeap<JS<T>> { } } - /// Get a rooted value out of this object - pub fn get_rooted(&self) -> Option<Root<T>> { - debug_assert!(task_state::get().is_script()); - self.get() - } - /// Set this `MutNullableHeap` to the given value. pub fn set(&self, val: Option<&T>) { debug_assert!(task_state::get().is_script()); |