aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread/lib.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2018-06-23 20:00:26 +0200
committerEmilio Cobos Álvarez <emilio@crisal.io>2018-06-23 20:34:10 +0200
commit895946bb186a194d1545e4782715f074cc8f8f6c (patch)
treeaad4d22255799cd13706f20338e1e5d9e81010ec /components/layout_thread/lib.rs
parent750c223021220da374b35bced42edb60d16e0106 (diff)
downloadservo-895946bb186a194d1545e4782715f074cc8f8f6c.tar.gz
servo-895946bb186a194d1545e4782715f074cc8f8f6c.zip
layout: script: Fix build.
Diffstat (limited to 'components/layout_thread/lib.rs')
-rw-r--r--components/layout_thread/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs
index f0383e871fa..3c39b95a28b 100644
--- a/components/layout_thread/lib.rs
+++ b/components/layout_thread/lib.rs
@@ -128,7 +128,7 @@ use style::context::{QuirksMode, RegisteredSpeculativePainter, RegisteredSpecula
use style::context::{SharedStyleContext, StyleSystemOptions, ThreadLocalStyleContextCreationInfo};
use style::dom::{ShowSubtree, ShowSubtreeDataAndPrimaryValues, TElement, TNode};
use style::driver;
-use style::error_reporting::{NullReporter, RustLogReporter};
+use style::error_reporting::RustLogReporter;
use style::invalidation::element::restyle_hints::RestyleHint;
use style::logical_geometry::LogicalPoint;
use style::media_queries::{Device, MediaList, MediaType};
@@ -1754,7 +1754,7 @@ fn get_ua_stylesheets() -> Result<UserAgentStylesheets, &'static str> {
MediaList::empty(),
shared_lock.clone(),
None,
- &NullReporter,
+ None,
QuirksMode::NoQuirks,
))))
}
@@ -1782,7 +1782,7 @@ fn get_ua_stylesheets() -> Result<UserAgentStylesheets, &'static str> {
MediaList::empty(),
shared_lock.clone(),
None,
- &RustLogReporter,
+ Some(&RustLogReporter),
QuirksMode::NoQuirks,
)))
);