mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Ensure that Reflectors are the first field
This commit is contained in:
parent
d761877ef6
commit
21a888341d
14 changed files with 146 additions and 21 deletions
|
@ -27,15 +27,15 @@ use servo_util::str::DOMString;
|
|||
|
||||
#[dom_struct]
|
||||
pub struct DOMImplementation {
|
||||
document: JS<Document>,
|
||||
reflector_: Reflector,
|
||||
document: JS<Document>,
|
||||
}
|
||||
|
||||
impl DOMImplementation {
|
||||
fn new_inherited(document: JSRef<Document>) -> DOMImplementation {
|
||||
DOMImplementation {
|
||||
document: JS::from_rooted(document),
|
||||
reflector_: Reflector::new(),
|
||||
document: JS::from_rooted(document),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue