mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Make some DOM members private.
I have not reviewed if this is the complete set of members that can be made private.
This commit is contained in:
parent
9f915e9e42
commit
bba9e58df1
19 changed files with 61 additions and 61 deletions
|
@ -58,7 +58,7 @@ impl AttrValue {
|
|||
|
||||
#[deriving(Encodable)]
|
||||
pub struct Attr {
|
||||
pub reflector_: Reflector,
|
||||
reflector_: Reflector,
|
||||
pub local_name: DOMString,
|
||||
value: Traceable<RefCell<AttrValue>>,
|
||||
pub name: DOMString,
|
||||
|
@ -66,7 +66,7 @@ pub struct Attr {
|
|||
pub prefix: Option<DOMString>,
|
||||
|
||||
/// the element that owns this attribute.
|
||||
pub owner: Cell<JS<Element>>,
|
||||
owner: Cell<JS<Element>>,
|
||||
}
|
||||
|
||||
impl Reflectable for Attr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue