diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-06-26 15:30:13 -0700 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-06-26 23:12:18 -0700 |
commit | 69e650ea6838942dc65d4cfb75fa77544ff4319e (patch) | |
tree | 71531536da0f074412e9fd00fa9c70aeea8f8025 /components/style/gecko/restyle_damage.rs | |
parent | 1c2fcb16ca5ab522f23d73800185be8011d5a91c (diff) | |
download | servo-69e650ea6838942dc65d4cfb75fa77544ff4319e.tar.gz servo-69e650ea6838942dc65d4cfb75fa77544ff4319e.zip |
style: Fix propagation of text-decoration lines.
Diffstat (limited to 'components/style/gecko/restyle_damage.rs')
-rw-r--r-- | components/style/gecko/restyle_damage.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/style/gecko/restyle_damage.rs b/components/style/gecko/restyle_damage.rs index 9d443b23baf..e9be48644ca 100644 --- a/components/style/gecko/restyle_damage.rs +++ b/components/style/gecko/restyle_damage.rs @@ -47,9 +47,10 @@ impl GeckoRestyleDamage { /// them, but Gecko has an interesting optimization when they mark accessed /// structs, so they effectively only diff structs that have ever been /// accessed from layout. - pub fn compute_style_difference(source: &nsStyleContext, - new_style: &Arc<ComputedValues>) - -> StyleDifference { + pub fn compute_style_difference( + source: &nsStyleContext, + new_style: &Arc<ComputedValues> + ) -> StyleDifference { // TODO(emilio): Const-ify this? let context = source as *const nsStyleContext as *mut nsStyleContext; let mut any_style_changed: bool = false; |