aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlhtmlelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlhtmlelement.rs')
-rw-r--r--components/script/dom/htmlhtmlelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlhtmlelement.rs b/components/script/dom/htmlhtmlelement.rs
index 75a233b82ce..b112e304c09 100644
--- a/components/script/dom/htmlhtmlelement.rs
+++ b/components/script/dom/htmlhtmlelement.rs
@@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use dom::bindings::codegen::Bindings::HTMLHtmlElementBinding;
-use dom::bindings::root::Root;
+use dom::bindings::root::DomRoot;
use dom::document::Document;
use dom::htmlelement::HTMLElement;
use dom::node::Node;
@@ -25,7 +25,7 @@ impl HTMLHtmlElement {
#[allow(unrooted_must_root)]
pub fn new(localName: LocalName,
prefix: Option<Prefix>,
- document: &Document) -> Root<HTMLHtmlElement> {
+ document: &Document) -> DomRoot<HTMLHtmlElement> {
Node::reflect_node(box HTMLHtmlElement::new_inherited(localName, prefix, document),
document,
HTMLHtmlElementBinding::Wrap)