aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-09-27 14:16:05 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2017-09-27 14:16:05 +0200
commit378babfd4ce587295b826aea169327a2706095f4 (patch)
treef255aaaeb56654d0dd0f860829d653d495fe10a2 /components/script/script_thread.rs
parent8d566fbc3c1954b2da0b0e185e224d5bde99b8e3 (diff)
downloadservo-378babfd4ce587295b826aea169327a2706095f4.tar.gz
servo-378babfd4ce587295b826aea169327a2706095f4.zip
Move STACK_ROOTS to dom::bindings::root
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index eb8b9b389a7..1891e84784d 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -35,7 +35,7 @@ use dom::bindings::inheritance::Castable;
use dom::bindings::num::Finite;
use dom::bindings::reflector::DomObject;
use dom::bindings::root::{Dom, DomRoot, MutNullableDom, RootCollection};
-use dom::bindings::root::{RootCollectionPtr, RootedReference, ThreadLocalStackRoots};
+use dom::bindings::root::{RootedReference, ThreadLocalStackRoots};
use dom::bindings::str::DOMString;
use dom::bindings::structuredclone::StructuredCloneData;
use dom::bindings::trace::JSTraceable;
@@ -129,7 +129,6 @@ use webvr_traits::{WebVREvent, WebVRMsg};
pub type ImageCacheMsg = (PipelineId, PendingImageResponse);
-thread_local!(pub static STACK_ROOTS: Cell<Option<RootCollectionPtr>> = Cell::new(None));
thread_local!(static SCRIPT_THREAD_ROOT: Cell<Option<*const ScriptThread>> = Cell::new(None));
pub unsafe fn trace_thread(tr: *mut JSTracer) {