diff options
Diffstat (limited to 'components/script/dom/htmlcanvaselement.rs')
-rw-r--r-- | components/script/dom/htmlcanvaselement.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/htmlcanvaselement.rs b/components/script/dom/htmlcanvaselement.rs index 3f7d11531bc..d77657ed2df 100644 --- a/components/script/dom/htmlcanvaselement.rs +++ b/components/script/dom/htmlcanvaselement.rs @@ -30,8 +30,9 @@ static DefaultHeight: u32 = 150; #[jstraceable] #[must_root] +#[privatize] pub struct HTMLCanvasElement { - pub htmlelement: HTMLElement, + htmlelement: HTMLElement, context: MutNullableJS<CanvasRenderingContext2D>, width: Cell<u32>, height: Cell<u32>, |