Made some DOM fields private.

Relevant to #2242.
This commit is contained in:
ProgramFOX 2014-09-26 20:35:01 +02:00
parent ab17d31bbf
commit 71a05a9c39
103 changed files with 103 additions and 103 deletions

View file

@ -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,