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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmltimeelement.rs b/components/script/dom/htmltimeelement.rs
index 7847ba3c17e..04d813e6e13 100644
--- a/components/script/dom/htmltimeelement.rs
+++ b/components/script/dom/htmltimeelement.rs
@@ -26,14 +26,14 @@ impl HTMLTimeElementDerived for EventTarget {
}
impl HTMLTimeElement {
- pub fn new_inherited(localName: DOMString, document: &JSRef<Document>) -> HTMLTimeElement {
+ pub fn new_inherited(localName: DOMString, document: JSRef<Document>) -> HTMLTimeElement {
HTMLTimeElement {
htmlelement: HTMLElement::new_inherited(HTMLTimeElementTypeId, localName, document)
}
}
#[allow(unrooted_must_root)]
- pub fn new(localName: DOMString, document: &JSRef<Document>) -> Temporary<HTMLTimeElement> {
+ pub fn new(localName: DOMString, document: JSRef<Document>) -> Temporary<HTMLTimeElement> {
let element = HTMLTimeElement::new_inherited(localName, document);
Node::reflect_node(box element, document, HTMLTimeElementBinding::Wrap)
}