aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r--src/components/script/html/hubbub_html_parser.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs
index f1622d8215e..d9813d502f4 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -325,13 +325,13 @@ pub fn parse_html(cx: *JSContext,
public_id: public_id,
system_id: system_id,
force_quirks: force_quirks } = doctype;
- let node = @DocumentType::new(name,
- public_id,
- system_id,
- force_quirks,
- document);
+ let node = DocumentType::new(name,
+ public_id,
+ system_id,
+ force_quirks,
+ document);
unsafe {
- Node::as_abstract_node(cx, node).to_hubbub_node()
+ node.to_hubbub_node()
}
},
create_element: |tag: ~hubbub::Tag| {