diff options
author | rohan.prinja <rohan.prinja@samsung.com> | 2015-10-29 21:48:39 +0900 |
---|---|---|
committer | rohan.prinja <rohan.prinja@samsung.com> | 2015-10-29 21:48:39 +0900 |
commit | 4a4f041948f38818d9616125c1639e1431327d09 (patch) | |
tree | 8a2960a3a9761fddd78cdd2d14ad427bda44e264 /components/script/dom/bindings/js.rs | |
parent | 430578355b75a3d58bec48b865cccbcf7eb8c990 (diff) | |
download | servo-4a4f041948f38818d9616125c1639e1431327d09.tar.gz servo-4a4f041948f38818d9616125c1639e1431327d09.zip |
remove get_rooted() and replace all references to it with references to get()
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()); |