aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmltimeelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmltimeelement.rs')
-rw-r--r--components/script/dom/htmltimeelement.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/htmltimeelement.rs b/components/script/dom/htmltimeelement.rs
index 8ba41e25a2b..e7d9e049baa 100644
--- a/components/script/dom/htmltimeelement.rs
+++ b/components/script/dom/htmltimeelement.rs
@@ -8,7 +8,7 @@ use dom::bindings::str::DOMString;
use dom::document::Document;
use dom::htmlelement::HTMLElement;
use dom::node::Node;
-use string_cache::Atom;
+use html5ever_atoms::LocalName;
#[dom_struct]
pub struct HTMLTimeElement {
@@ -16,14 +16,14 @@ pub struct HTMLTimeElement {
}
impl HTMLTimeElement {
- fn new_inherited(local_name: Atom, prefix: Option<DOMString>, document: &Document) -> HTMLTimeElement {
+ fn new_inherited(local_name: LocalName, prefix: Option<DOMString>, document: &Document) -> HTMLTimeElement {
HTMLTimeElement {
htmlelement: HTMLElement::new_inherited(local_name, prefix, document)
}
}
#[allow(unrooted_must_root)]
- pub fn new(local_name: Atom,
+ pub fn new(local_name: LocalName,
prefix: Option<DOMString>,
document: &Document) -> Root<HTMLTimeElement> {
Node::reflect_node(box HTMLTimeElement::new_inherited(local_name, prefix, document),