diff options
Diffstat (limited to 'components/script/dom/svgsvgelement.rs')
-rw-r--r-- | components/script/dom/svgsvgelement.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/svgsvgelement.rs b/components/script/dom/svgsvgelement.rs index 7c7d85f17b0..e94001b2d51 100644 --- a/components/script/dom/svgsvgelement.rs +++ b/components/script/dom/svgsvgelement.rs @@ -13,7 +13,7 @@ use dom::node::Node; use dom::svggraphicselement::SVGGraphicsElement; use dom::virtualmethods::VirtualMethods; use dom_struct::dom_struct; -use html5ever_atoms::LocalName; +use html5ever_atoms::{LocalName, Prefix}; use script_layout_interface::SVGSVGData; use style::attr::AttrValue; @@ -27,7 +27,7 @@ pub struct SVGSVGElement { impl SVGSVGElement { fn new_inherited(local_name: LocalName, - prefix: Option<DOMString>, + prefix: Option<Prefix>, document: &Document) -> SVGSVGElement { SVGSVGElement { svggraphicselement: @@ -37,7 +37,7 @@ impl SVGSVGElement { #[allow(unrooted_must_root)] pub fn new(local_name: LocalName, - prefix: Option<DOMString>, + prefix: Option<Prefix>, document: &Document) -> Root<SVGSVGElement> { Node::reflect_node(box SVGSVGElement::new_inherited(local_name, prefix, document), document, |