aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlbuttonelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlbuttonelement.rs')
-rw-r--r--components/script/dom/htmlbuttonelement.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/htmlbuttonelement.rs b/components/script/dom/htmlbuttonelement.rs
index f12035d148e..e0ae3afa30a 100644
--- a/components/script/dom/htmlbuttonelement.rs
+++ b/components/script/dom/htmlbuttonelement.rs
@@ -22,8 +22,9 @@ use string_cache::Atom;
#[jstraceable]
#[must_root]
+#[privatize]
pub struct HTMLButtonElement {
- pub htmlelement: HTMLElement
+ htmlelement: HTMLElement
}
impl HTMLButtonElementDerived for EventTarget {