aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllegendelement.rs
diff options
context:
space:
mode:
authorProgramFOX <programfox@hotmail.be>2014-09-26 20:35:01 +0200
committerProgramFOX <programfox@hotmail.be>2014-09-26 20:35:01 +0200
commit71a05a9c397a012a959718a7b00e4cd0ce58b359 (patch)
treebdc92e93cbe6df29d28d8f013fc5691b52f24b78 /components/script/dom/htmllegendelement.rs
parentab17d31bbf8c6884f858381f3d5b7e62c4de87c6 (diff)
downloadservo-71a05a9c397a012a959718a7b00e4cd0ce58b359.tar.gz
servo-71a05a9c397a012a959718a7b00e4cd0ce58b359.zip
Made some DOM fields private.
Relevant to #2242.
Diffstat (limited to 'components/script/dom/htmllegendelement.rs')
-rw-r--r--components/script/dom/htmllegendelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmllegendelement.rs b/components/script/dom/htmllegendelement.rs
index 2b7b3920796..72a7415bfe5 100644
--- a/components/script/dom/htmllegendelement.rs
+++ b/components/script/dom/htmllegendelement.rs
@@ -26,7 +26,7 @@ impl HTMLLegendElementDerived for EventTarget {
}
impl HTMLLegendElement {
- pub fn new_inherited(localName: DOMString, document: JSRef<Document>) -> HTMLLegendElement {
+ fn new_inherited(localName: DOMString, document: JSRef<Document>) -> HTMLLegendElement {
HTMLLegendElement {
htmlelement: HTMLElement::new_inherited(HTMLLegendElementTypeId, localName, document)
}