mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
style: Generate combined transform just once.
Differential Revision: https://phabricator.services.mozilla.com/D18567
This commit is contained in:
parent
eef9e24e96
commit
258217a369
2 changed files with 9 additions and 0 deletions
|
@ -629,6 +629,10 @@ impl<'a, 'b: 'a> Cascade<'a, 'b> {
|
|||
|
||||
#[cfg(feature = "gecko")]
|
||||
{
|
||||
if let Some(display) = builder.get_box_if_mutated() {
|
||||
display.generate_combined_transform();
|
||||
}
|
||||
|
||||
if let Some(bg) = builder.get_background_if_mutated() {
|
||||
bg.fill_arrays();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue