diff options
author | David Winslow <cdwinslow@gmail.com> | 2015-07-01 16:31:07 -0400 |
---|---|---|
committer | David Winslow <cdwinslow@gmail.com> | 2015-07-01 18:27:06 -0400 |
commit | 4cf46bff2d00f33a8866dc6880c8f6178fdf81a4 (patch) | |
tree | bfa5da23abf5d88edd40c26486e34b0cf40383d9 /components/script/dom/window.rs | |
parent | e958d92be6c35234bcffce2d4e74ece585de02e4 (diff) | |
download | servo-4cf46bff2d00f33a8866dc6880c8f6178fdf81a4.tar.gz servo-4cf46bff2d00f33a8866dc6880c8f6178fdf81a4.zip |
Refactor #[jstraceable] to #[derive(JSTraceable)]
fixes #6524
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. |