aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlquoteelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlquoteelement.rs')
-rw-r--r--components/script/dom/htmlquoteelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlquoteelement.rs b/components/script/dom/htmlquoteelement.rs
index da8a7b72829..c4d9f5c000a 100644
--- a/components/script/dom/htmlquoteelement.rs
+++ b/components/script/dom/htmlquoteelement.rs
@@ -26,14 +26,14 @@ impl HTMLQuoteElementDerived for EventTarget {
}
impl HTMLQuoteElement {
- pub fn new_inherited(localName: DOMString, document: &JSRef<Document>) -> HTMLQuoteElement {
+ pub fn new_inherited(localName: DOMString, document: JSRef<Document>) -> HTMLQuoteElement {
HTMLQuoteElement {
htmlelement: HTMLElement::new_inherited(HTMLQuoteElementTypeId, localName, document)
}
}
#[allow(unrooted_must_root)]
- pub fn new(localName: DOMString, document: &JSRef<Document>) -> Temporary<HTMLQuoteElement> {
+ pub fn new(localName: DOMString, document: JSRef<Document>) -> Temporary<HTMLQuoteElement> {
let element = HTMLQuoteElement::new_inherited(localName, document);
Node::reflect_node(box element, document, HTMLQuoteElementBinding::Wrap)
}