aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/domrect.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/domrect.rs
parentab17d31bbf8c6884f858381f3d5b7e62c4de87c6 (diff)
downloadservo-71a05a9c397a012a959718a7b00e4cd0ce58b359.tar.gz
servo-71a05a9c397a012a959718a7b00e4cd0ce58b359.zip
Made some DOM fields private.
Relevant to #2242.
Diffstat (limited to 'components/script/dom/domrect.rs')
-rw-r--r--components/script/dom/domrect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/domrect.rs b/components/script/dom/domrect.rs
index 0cc1770e6d8..2075f64a377 100644
--- a/components/script/dom/domrect.rs
+++ b/components/script/dom/domrect.rs
@@ -21,7 +21,7 @@ pub struct DOMRect {
}
impl DOMRect {
- pub fn new_inherited(top: Au, bottom: Au,
+ fn new_inherited(top: Au, bottom: Au,
left: Au, right: Au) -> DOMRect {
DOMRect {
top: top.to_nearest_px() as f32,