mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Initialize dom struct fields in declaration order
This commit is contained in:
parent
7e786fb8ac
commit
434a5f1d8b
4 changed files with 7 additions and 8 deletions
|
@ -163,10 +163,9 @@ impl XMLHttpRequest {
|
|||
request_headers: DOMRefCell::new(Headers::new()),
|
||||
request_body_len: Cell::new(0),
|
||||
sync: Cell::new(false),
|
||||
send_flag: Cell::new(false),
|
||||
|
||||
upload_complete: Cell::new(false),
|
||||
upload_events: Cell::new(false),
|
||||
send_flag: Cell::new(false),
|
||||
|
||||
global: GlobalField::from_rooted(&global),
|
||||
timeout_cancel: DOMRefCell::new(None),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue