diff options
author | Manish Goregaokar <manishearth@gmail.com> | 2017-07-17 11:41:52 -0700 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2017-07-17 18:02:25 -0700 |
commit | 808b1f509b7e1524cfc49f7cc1fc89fd5f8e5737 (patch) | |
tree | b6f4e04c1d0a4e427b2360d60abb02eea8e5aec8 /components/layout/flex.rs | |
parent | 04b0ae64f2fe606744142e353388749fe283a8ad (diff) | |
download | servo-808b1f509b7e1524cfc49f7cc1fc89fd5f8e5737.tar.gz servo-808b1f509b7e1524cfc49f7cc1fc89fd5f8e5737.zip |
stylo: Use ComputedValuesInner instead of ComputedValues when we don't need it
Diffstat (limited to 'components/layout/flex.rs')
-rw-r--r-- | components/layout/flex.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/flex.rs b/components/layout/flex.rs index 30295eabfe7..6b2e5d3425a 100644 --- a/components/layout/flex.rs +++ b/components/layout/flex.rs @@ -23,7 +23,7 @@ use std::ops::Range; use style::computed_values::{align_content, align_self, flex_direction, flex_wrap, justify_content}; use style::computed_values::border_collapse; use style::logical_geometry::{Direction, LogicalSize}; -use style::properties::ServoComputedValues; +use style::properties::ComputedValues; use style::servo::restyle_damage::{REFLOW, REFLOW_OUT_OF_FLOW}; use style::values::computed::{LengthOrPercentage, LengthOrPercentageOrAuto, LengthOrPercentageOrNone}; use style::values::computed::flex::FlexBasis; @@ -973,7 +973,7 @@ impl Flow for FlexFlow { self.block_flow.collect_stacking_contexts(state); } - fn repair_style(&mut self, new_style: &::StyleArc<ServoComputedValues>) { + fn repair_style(&mut self, new_style: &::StyleArc<ComputedValues>) { self.block_flow.repair_style(new_style) } |