diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-12-11 01:19:04 -1000 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-12-12 10:47:54 -1000 |
commit | 1327ebd52f53f5f6637a12fab6cf0cad0aa0be6f (patch) | |
tree | caa0933e802d9cdb5791fb465a051be5cf8e05f7 /components/script/dom/htmlanchorelement.rs | |
parent | f7d53b7bc18f10bac98b038c94f46f09fc02e002 (diff) | |
download | servo-1327ebd52f53f5f6637a12fab6cf0cad0aa0be6f.tar.gz servo-1327ebd52f53f5f6637a12fab6cf0cad0aa0be6f.zip |
Remove HeapGCValue
It could be used to have mutable JSVal fields without GC barriers.
With the removal of that trait, MutHeap and MutNullableHeap can respectively
be replaced by MutJS and MutNullableJS.
Diffstat (limited to 'components/script/dom/htmlanchorelement.rs')
-rw-r--r-- | components/script/dom/htmlanchorelement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlanchorelement.rs b/components/script/dom/htmlanchorelement.rs index f92290b2c97..b86cd60b8fc 100644 --- a/components/script/dom/htmlanchorelement.rs +++ b/components/script/dom/htmlanchorelement.rs @@ -11,7 +11,7 @@ use dom::bindings::codegen::Bindings::HTMLAnchorElementBinding::HTMLAnchorElemen use dom::bindings::codegen::Bindings::MouseEventBinding::MouseEventMethods; use dom::bindings::codegen::Bindings::NodeBinding::NodeMethods; use dom::bindings::inheritance::Castable; -use dom::bindings::js::{JS, MutNullableHeap, Root}; +use dom::bindings::js::{MutNullableJS, Root}; use dom::bindings::str::{DOMString, USVString}; use dom::document::Document; use dom::domtokenlist::DOMTokenList; @@ -36,7 +36,7 @@ use util::prefs::PREFS; #[dom_struct] pub struct HTMLAnchorElement { htmlelement: HTMLElement, - rel_list: MutNullableHeap<JS<DOMTokenList>>, + rel_list: MutNullableJS<DOMTokenList>, url: DOMRefCell<Option<ServoUrl>>, } |