Use #[dom_struct] everywhere

This commit is contained in:
Manish Goregaokar 2014-10-15 14:25:33 +05:30
parent c45550de73
commit 3f2cbb275b
119 changed files with 119 additions and 357 deletions

View file

@ -28,9 +28,7 @@ use std::default::Default;
static DefaultWidth: u32 = 300;
static DefaultHeight: u32 = 150;
#[jstraceable]
#[must_root]
#[privatize]
#[dom_struct]
pub struct HTMLCanvasElement {
htmlelement: HTMLElement,
context: MutNullableJS<CanvasRenderingContext2D>,