aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlparamelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlparamelement.rs')
-rw-r--r--components/script/dom/htmlparamelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlparamelement.rs b/components/script/dom/htmlparamelement.rs
index 5405220a552..fded20de33f 100644
--- a/components/script/dom/htmlparamelement.rs
+++ b/components/script/dom/htmlparamelement.rs
@@ -26,7 +26,7 @@ impl HTMLParamElementDerived for EventTarget {
}
impl HTMLParamElement {
- pub fn new_inherited(localName: DOMString, document: JSRef<Document>) -> HTMLParamElement {
+ fn new_inherited(localName: DOMString, document: JSRef<Document>) -> HTMLParamElement {
HTMLParamElement {
htmlelement: HTMLElement::new_inherited(HTMLParamElementTypeId, localName, document)
}