aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlelement.rs
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2014-09-29 18:30:01 -0700
committerKeegan McAllister <kmcallister@mozilla.com>2014-09-29 21:40:54 -0700
commitd50114c41d5233bc55ad1b86273995c0fa3f8d62 (patch)
tree1b11383f0fdfab841f3cc77c680226b9bc10aa59 /components/script/dom/htmlelement.rs
parent6429750b339ca45651ac3a45df380f1badd3917c (diff)
downloadservo-d50114c41d5233bc55ad1b86273995c0fa3f8d62.tar.gz
servo-d50114c41d5233bc55ad1b86273995c0fa3f8d62.zip
Use string-cache's Namespace type
Diffstat (limited to 'components/script/dom/htmlelement.rs')
-rw-r--r--components/script/dom/htmlelement.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/htmlelement.rs b/components/script/dom/htmlelement.rs
index 44ed7910320..96c3af3a8fd 100644
--- a/components/script/dom/htmlelement.rs
+++ b/components/script/dom/htmlelement.rs
@@ -17,7 +17,6 @@ use dom::eventtarget::{EventTarget, EventTargetHelpers, NodeTargetTypeId};
use dom::node::{Node, ElementNodeTypeId, window_from_node};
use dom::virtualmethods::VirtualMethods;
-use servo_util::namespace;
use servo_util::str::DOMString;
use string_cache::Atom;
@@ -40,7 +39,7 @@ impl HTMLElementDerived for EventTarget {
impl HTMLElement {
pub fn new_inherited(type_id: ElementTypeId, tag_name: DOMString, document: JSRef<Document>) -> HTMLElement {
HTMLElement {
- element: Element::new_inherited(type_id, tag_name, namespace::HTML, None, document)
+ element: Element::new_inherited(type_id, tag_name, ns!(HTML), None, document)
}
}