style: Cleanup always-false argument to Servo_ResolveStyleLazily.

I changed this setup in https://bugzilla.mozilla.org/show_bug.cgi?id=1414999,
because it was totally unsound.
This commit is contained in:
Emilio Cobos Álvarez 2018-02-20 12:59:21 +01:00
parent a98da8ce93
commit 94b687306f
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 4 additions and 10 deletions

View file

@ -693,7 +693,7 @@ pub fn process_resolved_style_request<'a, N>(context: &LayoutContext,
thread_local: &mut tlc,
};
let styles = resolve_style(&mut context, element, RuleInclusion::All, false, pseudo.as_ref());
let styles = resolve_style(&mut context, element, RuleInclusion::All, pseudo.as_ref());
let style = styles.primary();
let longhand_id = match *property {
PropertyId::LonghandAlias(id, _) |