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

@ -32,15 +32,15 @@ pub enum CollectionTypeId {
#[dom_struct]
pub struct HTMLCollection {
collection: CollectionTypeId,
reflector_: Reflector,
collection: CollectionTypeId,
}
impl HTMLCollection {
fn new_inherited(collection: CollectionTypeId) -> HTMLCollection {
HTMLCollection {
collection: collection,
reflector_: Reflector::new(),
collection: collection,
}
}