aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/utils.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-09-29 07:06:24 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-10-05 22:58:00 +0530
commit427b3b7733eb88f48db839c53d21e7d8284b5fe9 (patch)
treea6f7f96c046dccbac12dbadc7311f1c5fc6c6462 /components/script/dom/bindings/utils.rs
parentb7c3a1cd5ddd95b464306a593e22e35d456e1fab (diff)
downloadservo-427b3b7733eb88f48db839c53d21e7d8284b5fe9.tar.gz
servo-427b3b7733eb88f48db839c53d21e7d8284b5fe9.zip
Remove Traceable/Untraceable entirely
Diffstat (limited to 'components/script/dom/bindings/utils.rs')
-rw-r--r--components/script/dom/bindings/utils.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/script/dom/bindings/utils.rs b/components/script/dom/bindings/utils.rs
index 9e57171643a..9177a3f5124 100644
--- a/components/script/dom/bindings/utils.rs
+++ b/components/script/dom/bindings/utils.rs
@@ -49,10 +49,12 @@ use js::{JSPROP_ENUMERATE, JSPROP_READONLY, JSPROP_PERMANENT};
use js::JSFUN_CONSTRUCTOR;
use js;
+pub struct WindowProxyHandler(pub *const libc::c_void);
+
#[allow(raw_pointer_deriving)]
#[jstraceable]
pub struct GlobalStaticData {
- pub windowproxy_handler: *const libc::c_void,
+ pub windowproxy_handler: WindowProxyHandler,
}
pub fn GlobalStaticData() -> GlobalStaticData {