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/servoparser/xml.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/servoparser/xml.rs')
-rw-r--r-- | components/script/dom/servoparser/xml.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/servoparser/xml.rs b/components/script/dom/servoparser/xml.rs index bcbfa6c4169..616263651c3 100644 --- a/components/script/dom/servoparser/xml.rs +++ b/components/script/dom/servoparser/xml.rs @@ -6,7 +6,7 @@ use dom::bindings::codegen::Bindings::NodeBinding::NodeMethods; use dom::bindings::inheritance::Castable; -use dom::bindings::js::{JS, MutNullableHeap, Root}; +use dom::bindings::js::{JS, MutNullableJS, Root}; use dom::bindings::str::DOMString; use dom::bindings::trace::JSTraceable; use dom::comment::Comment; @@ -97,7 +97,7 @@ unsafe impl JSTraceable for XmlTokenizer<XmlTreeBuilder<JS<Node>, Sink>> { struct Sink { base_url: ServoUrl, document: JS<Document>, - script: MutNullableHeap<JS<HTMLScriptElement>>, + script: MutNullableJS<HTMLScriptElement>, } impl<'a> TreeSink for Sink { |