diff options
author | Josh Matthews <josh@joshmatthews.net> | 2017-07-06 13:18:36 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2017-07-10 20:46:08 -0400 |
commit | a08371e8eb343bd6372aa60d7658ff4b7bb5da15 (patch) | |
tree | c2a7134889dc0658ef854714a6b20d4e221ba26f /components/layout_thread/lib.rs | |
parent | 4b91014b140d8a67e7de01489f3c3d52bd311c17 (diff) | |
download | servo-a08371e8eb343bd6372aa60d7658ff4b7bb5da15.tar.gz servo-a08371e8eb343bd6372aa60d7658ff4b7bb5da15.zip |
stylo: Create error reporters linked to documents (bug 1352669)
Diffstat (limited to 'components/layout_thread/lib.rs')
-rw-r--r-- | components/layout_thread/lib.rs | 8 |
1 files changed, 0 insertions, 8 deletions
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<Mutex<LayoutThreadData>>, - /// The CSS error reporter for all CSS loaded in this layout thread - error_reporter: CSSErrorReporter, - webrender_image_cache: Arc<RwLock<FnvHashMap<(ServoUrl, UsePlaceholder), WebRenderImageInfo>>>, /// 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(), |