diff options
author | Ravi Shankar <wafflespeanut@gmail.com> | 2015-08-15 02:00:48 +0530 |
---|---|---|
committer | Ravi Shankar <wafflespeanut@gmail.com> | 2015-08-15 02:00:48 +0530 |
commit | 89153116fb4b9d1043cc413f2546be728665686e (patch) | |
tree | 09c1b1dba283263122f02b7ab547f3964fbf04cf /components/script/dom/bindings/refcounted.rs | |
parent | 42d74324e22be0f105d2412938df8b05c20feff6 (diff) | |
download | servo-89153116fb4b9d1043cc413f2546be728665686e.tar.gz servo-89153116fb4b9d1043cc413f2546be728665686e.zip |
Splitting ScriptMsg into various enums; r=jdm
Diffstat (limited to 'components/script/dom/bindings/refcounted.rs')
-rw-r--r-- | components/script/dom/bindings/refcounted.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bindings/refcounted.rs b/components/script/dom/bindings/refcounted.rs index e4017c684e8..8d1f0876e6b 100644 --- a/components/script/dom/bindings/refcounted.rs +++ b/components/script/dom/bindings/refcounted.rs @@ -25,7 +25,7 @@ use dom::bindings::js::Root; use dom::bindings::utils::{Reflector, Reflectable}; use dom::bindings::trace::trace_reflector; -use script_task::{ScriptMsg, ScriptChan}; +use script_task::{ScriptChan, CommonScriptMsg}; use js::jsapi::{JSContext, JSTracer}; @@ -130,7 +130,7 @@ impl<T: Reflectable> Drop for Trusted<T> { // It's possible this send will fail if the script task // has already exited. There's not much we can do at this // point though. - let msg = ScriptMsg::RefcountCleanup(TrustedReference(self.ptr)); + let msg = CommonScriptMsg::RefcountCleanup(TrustedReference(self.ptr)); let _ = self.script_chan.send(msg); } } |