From 4cf46bff2d00f33a8866dc6880c8f6178fdf81a4 Mon Sep 17 00:00:00 2001 From: David Winslow Date: Wed, 1 Jul 2015 16:31:07 -0400 Subject: Refactor #[jstraceable] to #[derive(JSTraceable)] fixes #6524 --- components/script/script_task.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components/script/script_task.rs') diff --git a/components/script/script_task.rs b/components/script/script_task.rs index 9a5f01084cf..f2c07735d89 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -121,7 +121,7 @@ unsafe extern fn trace_rust_roots(tr: *mut JSTracer, _data: *mut libc::c_void) { /// data that will need to be present when the document and frame tree entry are created, /// but is only easily available at initiation of the load and on a push basis (so some /// data will be updated according to future resize events, viewport changes, etc.) -#[jstraceable] +#[derive(JSTraceable)] struct InProgressLoad { /// The pipeline which requested this load. pipeline_id: PipelineId, @@ -226,7 +226,7 @@ impl ScriptPort for Receiver<(TrustedWorkerAddress, ScriptMsg)> { } /// Encapsulates internal communication within the script task. -#[jstraceable] +#[derive(JSTraceable)] pub struct NonWorkerScriptChan(pub Sender); impl ScriptChan for NonWorkerScriptChan { @@ -269,7 +269,7 @@ impl Drop for StackRootTLS { /// Information for an entire page. Pages are top-level browsing contexts and can contain multiple /// frames. -#[jstraceable] +#[derive(JSTraceable)] pub struct ScriptTask { /// A handle to the information pertaining to page layout page: DOMRefCell>>, -- cgit v1.2.3