Ensure that Reflectors are the first field

This commit is contained in:
Manish Goregaokar 2014-12-10 11:56:20 +05:30
parent d761877ef6
commit 21a888341d
14 changed files with 146 additions and 21 deletions

View file

@ -19,15 +19,15 @@ pub enum NodeListType {
#[dom_struct]
pub struct NodeList {
list_type: NodeListType,
reflector_: Reflector,
list_type: NodeListType,
}
impl NodeList {
fn new_inherited(list_type: NodeListType) -> NodeList {
NodeList {
list_type: list_type,
reflector_: Reflector::new(),
list_type: list_type,
}
}