aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/servohtmlparser.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2015-04-27 17:50:50 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2015-04-28 09:22:45 +0200
commit7197052c0dd69eafb5331ba1c0d23f2afaa7f7eb (patch)
treebb743513a335b0221e0c7c580175c16f7a42c736 /components/script/dom/servohtmlparser.rs
parentd7987e43c944eb9b156bf3244c08fce4cb570db4 (diff)
downloadservo-7197052c0dd69eafb5331ba1c0d23f2afaa7f7eb.tar.gz
servo-7197052c0dd69eafb5331ba1c0d23f2afaa7f7eb.zip
Uniformise root() methods
They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable.
Diffstat (limited to 'components/script/dom/servohtmlparser.rs')
-rw-r--r--components/script/dom/servohtmlparser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/servohtmlparser.rs b/components/script/dom/servohtmlparser.rs
index 22de46f4e3c..fbd89a27787 100644
--- a/components/script/dom/servohtmlparser.rs
+++ b/components/script/dom/servohtmlparser.rs
@@ -9,7 +9,7 @@ use dom::bindings::cell::DOMRefCell;
use dom::bindings::codegen::Bindings::ServoHTMLParserBinding;
use dom::bindings::global::GlobalRef;
use dom::bindings::trace::JSTraceable;
-use dom::bindings::js::{JS, JSRef, Temporary};
+use dom::bindings::js::{JS, JSRef, Rootable, Temporary};
use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};
use dom::document::{Document, DocumentHelpers};
use dom::node::Node;