Refactor #[jstraceable] to #[derive(JSTraceable)]

fixes #6524
This commit is contained in:
David Winslow 2015-07-01 16:31:07 -04:00
parent e958d92be6
commit 4cf46bff2d
51 changed files with 97 additions and 137 deletions

View file

@ -45,8 +45,7 @@ use std::cell::Cell;
const DEFAULT_SUBMIT_VALUE: &'static str = "Submit";
const DEFAULT_RESET_VALUE: &'static str = "Reset";
#[jstraceable]
#[derive(PartialEq, Copy, Clone)]
#[derive(JSTraceable, PartialEq, Copy, Clone)]
#[allow(dead_code)]
enum InputType {
InputSubmit,
@ -80,7 +79,7 @@ impl PartialEq for HTMLInputElement {
}
}
#[jstraceable]
#[derive(JSTraceable)]
#[must_root]
struct InputActivationState {
indeterminate: bool,