mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
style: Remove a couple trivial dependencies on nsPresContext.
Differential Revision: https://phabricator.services.mozilla.com/D20141
This commit is contained in:
parent
3231714758
commit
dcfe30ff18
9 changed files with 32 additions and 34 deletions
|
@ -396,7 +396,7 @@ ${helpers.predefined_type(
|
|||
&mut system,
|
||||
id as i32,
|
||||
cx.style().get_font().gecko(),
|
||||
cx.device().pres_context()
|
||||
cx.device().document()
|
||||
)
|
||||
}
|
||||
let font_weight = longhands::font_weight::computed_value::T::from_gecko_weight(system.weight);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue