aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/validitystate.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-06-28 13:42:39 +0200
committerMs2ger <ms2ger@gmail.com>2014-06-28 16:27:36 +0200
commitbba9e58df1d1461217157256bb799a7d4c302a4f (patch)
tree913c0b514f8df31c4169d167fee14e3f52db2245 /src/components/script/dom/validitystate.rs
parent9f915e9e42217c09c7ed15b14b66fc8f84e38490 (diff)
downloadservo-bba9e58df1d1461217157256bb799a7d4c302a4f.tar.gz
servo-bba9e58df1d1461217157256bb799a7d4c302a4f.zip
Make some DOM members private.
I have not reviewed if this is the complete set of members that can be made private.
Diffstat (limited to 'src/components/script/dom/validitystate.rs')
-rw-r--r--src/components/script/dom/validitystate.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/script/dom/validitystate.rs b/src/components/script/dom/validitystate.rs
index e08ffbf6a9f..5731399830f 100644
--- a/src/components/script/dom/validitystate.rs
+++ b/src/components/script/dom/validitystate.rs
@@ -10,9 +10,9 @@ use std::cell::Cell;
#[deriving(Encodable)]
pub struct ValidityState {
- pub reflector_: Reflector,
- pub window: Cell<JS<Window>>,
- pub state: u8,
+ reflector_: Reflector,
+ window: Cell<JS<Window>>,
+ state: u8,
}
impl ValidityState {