aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlcollection.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-12-10 11:56:20 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-12-27 02:53:36 +0530
commit21a888341d3e184b0835c4de73959b851d275571 (patch)
treee019676e6d0cc048d26ce610f9725628eac5efca /components/script/dom/htmlcollection.rs
parentd761877ef692f46970315ee0008fe0f3254323eb (diff)
downloadservo-21a888341d3e184b0835c4de73959b851d275571.tar.gz
servo-21a888341d3e184b0835c4de73959b851d275571.zip
Ensure that Reflectors are the first field
Diffstat (limited to 'components/script/dom/htmlcollection.rs')
-rw-r--r--components/script/dom/htmlcollection.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlcollection.rs b/components/script/dom/htmlcollection.rs
index 7e08fcb6e2d..af885c0b561 100644
--- a/components/script/dom/htmlcollection.rs
+++ b/components/script/dom/htmlcollection.rs
@@ -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,
}
}