aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlinputelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlinputelement.rs')
-rw-r--r--components/script/dom/htmlinputelement.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/components/script/dom/htmlinputelement.rs b/components/script/dom/htmlinputelement.rs
index 30a3bee03af..e0590e6bf6b 100644
--- a/components/script/dom/htmlinputelement.rs
+++ b/components/script/dom/htmlinputelement.rs
@@ -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,