mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Use cbindgen to back CSS transforms.
This avoids the expensive conversion, and cleans up a bunch. Further cleanup is possible, just not done yet to avoid growing the patch even more. Differential Revision: https://phabricator.services.mozilla.com/D30748
This commit is contained in:
parent
85752fa479
commit
3034d66eef
11 changed files with 59 additions and 356 deletions
|
@ -628,10 +628,6 @@ 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