diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2014-12-10 11:56:20 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2014-12-27 02:53:36 +0530 |
commit | 21a888341d3e184b0835c4de73959b851d275571 (patch) | |
tree | e019676e6d0cc048d26ce610f9725628eac5efca /components/script/dom/domimplementation.rs | |
parent | d761877ef692f46970315ee0008fe0f3254323eb (diff) | |
download | servo-21a888341d3e184b0835c4de73959b851d275571.tar.gz servo-21a888341d3e184b0835c4de73959b851d275571.zip |
Ensure that Reflectors are the first field
Diffstat (limited to 'components/script/dom/domimplementation.rs')
-rw-r--r-- | components/script/dom/domimplementation.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/domimplementation.rs b/components/script/dom/domimplementation.rs index 2f593e5fe7b..0d227f81733 100644 --- a/components/script/dom/domimplementation.rs +++ b/components/script/dom/domimplementation.rs @@ -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), } } |