aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/stylist.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2017-07-06 13:18:36 -0400
committerJosh Matthews <josh@joshmatthews.net>2017-07-10 20:46:08 -0400
commita08371e8eb343bd6372aa60d7658ff4b7bb5da15 (patch)
treec2a7134889dc0658ef854714a6b20d4e221ba26f /components/style/stylist.rs
parent4b91014b140d8a67e7de01489f3c3d52bd311c17 (diff)
downloadservo-a08371e8eb343bd6372aa60d7658ff4b7bb5da15.tar.gz
servo-a08371e8eb343bd6372aa60d7658ff4b7bb5da15.zip
stylo: Create error reporters linked to documents (bug 1352669)
Diffstat (limited to 'components/style/stylist.rs')
-rw-r--r--components/style/stylist.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/style/stylist.rs b/components/style/stylist.rs
index 367570aa4ce..427147e7e4f 100644
--- a/components/style/stylist.rs
+++ b/components/style/stylist.rs
@@ -10,7 +10,6 @@ use bit_vec::BitVec;
use context::{CascadeInputs, QuirksMode};
use dom::TElement;
use element_state::ElementState;
-use error_reporting::create_error_reporter;
use font_metrics::FontMetricsProvider;
#[cfg(feature = "gecko")]
use gecko_bindings::structs::{nsIAtom, StyleRuleInclusion};
@@ -639,7 +638,6 @@ impl Stylist {
parent.map(|p| &**p),
None,
None,
- &create_error_reporter(),
font_metrics,
cascade_flags,
self.quirks_mode);
@@ -748,7 +746,6 @@ impl Stylist {
Some(inherited_style),
None,
None,
- &create_error_reporter(),
font_metrics,
CascadeFlags::empty(),
self.quirks_mode);
@@ -780,7 +777,6 @@ impl Stylist {
Some(parent_style),
visited_values,
None,
- &create_error_reporter(),
font_metrics,
CascadeFlags::empty(),
self.quirks_mode);
@@ -1367,7 +1363,6 @@ impl Stylist {
Some(parent_style),
None,
None,
- &create_error_reporter(),
&metrics,
CascadeFlags::empty(),
self.quirks_mode))