diff options
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r-- | components/script/dom/window.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index 83cf3e9b4d5..43fd7429832 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -70,8 +70,7 @@ use std::sync::mpsc::TryRecvError::{Empty, Disconnected}; use time; /// Current state of the window object -#[derive(Copy, Clone, Debug, PartialEq)] -#[jstraceable] +#[derive(JSTraceable, Copy, Clone, Debug, PartialEq)] enum WindowState { Alive, Zombie, // Pipeline is closed, but the window hasn't been GCed yet. |