diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-09-25 12:19:56 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-09-25 22:35:37 +0200 |
commit | 47829a37a97c70e6d24db6add0557028e19e6114 (patch) | |
tree | 250191b2cfb434c2d33ef76c9411a20f6d215cf1 /components/script/dom/bindings/callback.rs | |
parent | 1fba32af9ff68db73768b4732d003ea7aad09b28 (diff) | |
download | servo-47829a37a97c70e6d24db6add0557028e19e6114.tar.gz servo-47829a37a97c70e6d24db6add0557028e19e6114.zip |
Move global_object_for_js_object to global.rs.
This appears to be a more sensible place for it (related to #433).
Diffstat (limited to 'components/script/dom/bindings/callback.rs')
-rw-r--r-- | components/script/dom/bindings/callback.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/bindings/callback.rs b/components/script/dom/bindings/callback.rs index 4f9c04f6e42..d450dd25688 100644 --- a/components/script/dom/bindings/callback.rs +++ b/components/script/dom/bindings/callback.rs @@ -4,9 +4,10 @@ //! Base classes to work with IDL callbacks. +use dom::bindings::global::global_object_for_js_object; use dom::bindings::js::JSRef; use dom::bindings::trace::Traceable; -use dom::bindings::utils::{Reflectable, global_object_for_js_object}; +use dom::bindings::utils::Reflectable; use js::jsapi::{JSContext, JSObject, JS_WrapObject, JS_ObjectIsCallable}; use js::jsapi::JS_GetProperty; use js::jsval::{JSVal, UndefinedValue}; |