aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/domparser.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/domparser.rs
parentab17d31bbf8c6884f858381f3d5b7e62c4de87c6 (diff)
downloadservo-71a05a9c397a012a959718a7b00e4cd0ce58b359.tar.gz
servo-71a05a9c397a012a959718a7b00e4cd0ce58b359.zip
Made some DOM fields private.
Relevant to #2242.
Diffstat (limited to 'components/script/dom/domparser.rs')
-rw-r--r--components/script/dom/domparser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/domparser.rs b/components/script/dom/domparser.rs
index 50aa923d399..3f9e3bbb827 100644
--- a/components/script/dom/domparser.rs
+++ b/components/script/dom/domparser.rs
@@ -21,7 +21,7 @@ pub struct DOMParser {
}
impl DOMParser {
- pub fn new_inherited(window: JSRef<Window>) -> DOMParser {
+ fn new_inherited(window: JSRef<Window>) -> DOMParser {
DOMParser {
window: JS::from_rooted(window),
reflector_: Reflector::new()