aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlimageelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlimageelement.rs')
-rw-r--r--components/script/dom/htmlimageelement.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/htmlimageelement.rs b/components/script/dom/htmlimageelement.rs
index 299cb4923ca..5d7ffeb3c22 100644
--- a/components/script/dom/htmlimageelement.rs
+++ b/components/script/dom/htmlimageelement.rs
@@ -26,8 +26,9 @@ use std::cell::RefCell;
#[jstraceable]
#[must_root]
+#[privatize]
pub struct HTMLImageElement {
- pub htmlelement: HTMLElement,
+ htmlelement: HTMLElement,
image: RefCell<Option<Url>>,
}