Initialize dom struct fields in declaration order

This commit is contained in:
Michael Wu 2015-10-30 15:40:43 -04:00
parent 7e786fb8ac
commit 434a5f1d8b
4 changed files with 7 additions and 8 deletions

View file

@ -60,8 +60,8 @@ impl CSSStyleDeclaration {
CSSStyleDeclaration {
reflector_: Reflector::new(),
owner: JS::from_ref(owner),
pseudo: pseudo,
readonly: modification_access == CSSModificationAccess::Readonly,
pseudo: pseudo,
}
}