aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2016-07-19 20:29:22 +0200
committerSimon Sapin <simon.sapin@exyr.org>2016-07-20 08:42:40 +0200
commit789807b7b09e0742a197c98efd2f81b85b751a57 (patch)
treee093027760cf23719d9f6b3e279eab46e9b3168f /components/script_layout_interface
parentb2a7e4437391abd92486d5bef879fadadabab162 (diff)
downloadservo-789807b7b09e0742a197c98efd2f81b85b751a57.tar.gz
servo-789807b7b09e0742a197c98efd2f81b85b751a57.zip
Remove the ComputedValue traits and style_struct_traits
Diffstat (limited to 'components/script_layout_interface')
-rw-r--r--components/script_layout_interface/restyle_damage.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script_layout_interface/restyle_damage.rs b/components/script_layout_interface/restyle_damage.rs
index 56a068a2237..c1005099442 100644
--- a/components/script_layout_interface/restyle_damage.rs
+++ b/components/script_layout_interface/restyle_damage.rs
@@ -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) }