mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove the ComputedValue traits and style_struct_traits
This commit is contained in:
parent
b2a7e44373
commit
789807b7b0
60 changed files with 589 additions and 652 deletions
|
@ -6,7 +6,7 @@ use std::fmt;
|
|||
use std::sync::Arc;
|
||||
use style::computed_values::display;
|
||||
use style::dom::TRestyleDamage;
|
||||
use style::properties::{ComputedValues, ServoComputedValues};
|
||||
use style::properties::ServoComputedValues;
|
||||
|
||||
bitflags! {
|
||||
#[doc = "Individual layout actions that may be necessary after restyling."]
|
||||
|
@ -44,7 +44,6 @@ bitflags! {
|
|||
}
|
||||
|
||||
impl TRestyleDamage for RestyleDamage {
|
||||
type ConcreteComputedValues = ServoComputedValues;
|
||||
fn compute(old: Option<&Arc<ServoComputedValues>>, new: &ServoComputedValues) ->
|
||||
RestyleDamage { compute_damage(old, new) }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue