aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-07-10 18:13:44 -0700
committerGitHub <noreply@github.com>2017-07-10 18:13:44 -0700
commit2ddbc92d90ec8df9e5bf4630cd3e93759da81649 (patch)
treee731eeba1e23cdfe58f5beb326195dba8059d99e /components/layout_thread
parent2475039e40ec898e377c433836edafa5637d63ae (diff)
parent0b43d0072ce8112b661daef2a9b52fc95143308c (diff)
downloadservo-2ddbc92d90ec8df9e5bf4630cd3e93759da81649.tar.gz
servo-2ddbc92d90ec8df9e5bf4630cd3e93759da81649.zip
Auto merge of #17655 - jdm:stylo-error-reporter, r=emilio
Hook up Stylo error reporter to Firefox devtools Reviewed by @emilio in https://bugzilla.mozilla.org/show_bug.cgi?id=1352669. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17655) <!-- Reviewable:end -->
Diffstat (limited to 'components/layout_thread')
-rw-r--r--components/layout_thread/lib.rs8
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(),