mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Stylo: replace product={gecko,servo} with engine={gecko,servo-2013,servo-2020}
Renaming the variable helped make sure I looked at every use.
This commit is contained in:
parent
f1300bb98b
commit
ddb4e369dd
52 changed files with 870 additions and 469 deletions
|
@ -639,13 +639,8 @@ impl<'a, 'b: 'a> Cascade<'a, 'b> {
|
|||
|
||||
#[cfg(feature = "servo")]
|
||||
{
|
||||
// TODO(emilio): Use get_font_if_mutated instead.
|
||||
if self.seen.contains(LonghandId::FontStyle) ||
|
||||
self.seen.contains(LonghandId::FontWeight) ||
|
||||
self.seen.contains(LonghandId::FontStretch) ||
|
||||
self.seen.contains(LonghandId::FontFamily)
|
||||
{
|
||||
builder.mutate_font().compute_font_hash();
|
||||
if let Some(font) = builder.get_font_if_mutated() {
|
||||
font.compute_font_hash();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue