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