From a08371e8eb343bd6372aa60d7658ff4b7bb5da15 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Thu, 6 Jul 2017 13:18:36 -0400 Subject: stylo: Create error reporters linked to documents (bug 1352669) --- components/layout_thread/lib.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'components/layout_thread/lib.rs') diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs index 970896f3864..b063aa0bca6 100644 --- a/components/layout_thread/lib.rs +++ b/components/layout_thread/lib.rs @@ -219,9 +219,6 @@ pub struct LayoutThread { /// All the other elements of this struct are read-only. rw_data: Arc>, - /// The CSS error reporter for all CSS loaded in this layout thread - error_reporter: CSSErrorReporter, - webrender_image_cache: Arc>>, /// The executor for paint worklets. @@ -532,10 +529,6 @@ impl LayoutThread { text_index_response: TextIndexResponse(None), nodes_from_point_response: vec![], })), - error_reporter: CSSErrorReporter { - pipelineid: id, - script_chan: Arc::new(Mutex::new(script_chan)), - }, webrender_image_cache: Arc::new(RwLock::new(FnvHashMap::default())), timer: @@ -580,7 +573,6 @@ impl LayoutThread { guards: guards, running_animations: self.running_animations.clone(), expired_animations: self.expired_animations.clone(), - error_reporter: &self.error_reporter, local_context_creation_data: Mutex::new(thread_local_style_context_creation_data), timer: self.timer.clone(), quirks_mode: self.quirks_mode.unwrap(), -- cgit v1.2.3