From 512944c32cb07581161c485c87f48618565bc843 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Mon, 24 Apr 2017 08:27:26 +0200 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20report=20CSS=20parsing=20errors?= =?UTF-8?q?=20from=20user-agent=20stylesheets.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This used to make `RUST_LOG=style` basically useless. --- components/layout_thread/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs index a4c67f606eb..c17d3bd9b48 100644 --- a/components/layout_thread/lib.rs +++ b/components/layout_thread/lib.rs @@ -110,7 +110,7 @@ use style::context::{QuirksMode, ReflowGoal, SharedStyleContext}; use style::context::{StyleSystemOptions, ThreadLocalStyleContextCreationInfo}; use style::data::StoredRestyleHint; use style::dom::{ShowSubtree, ShowSubtreeDataAndPrimaryValues, TElement, TNode}; -use style::error_reporting::RustLogReporter; +use style::error_reporting::{NullReporter, RustLogReporter}; use style::logical_geometry::LogicalPoint; use style::media_queries::{Device, MediaList, MediaType}; use style::servo::restyle_damage::{REFLOW, REFLOW_OUT_OF_FLOW, REPAINT, REPOSITION, STORE_OVERFLOW}; @@ -1587,7 +1587,7 @@ fn get_ua_stylesheets() -> Result { MediaList::empty(), shared_lock.clone(), None, - &RustLogReporter)) + &NullReporter)) } let shared_lock = SharedRwLock::new();