aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/display_list_builder.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-06-27 13:48:34 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2017-06-27 23:40:16 +0200
commit395f6be0a60d5c44426f18a5d7a6f53d1d7d471d (patch)
tree5dbd05545012e71a16178b0e1409b548a05f3c8b /components/layout/display_list_builder.rs
parent813883e1bda5aa028b1bd3940fb7718fc01b65c6 (diff)
downloadservo-395f6be0a60d5c44426f18a5d7a6f53d1d7d471d.tar.gz
servo-395f6be0a60d5c44426f18a5d7a6f53d1d7d471d.zip
Use the Separator trait for the filter property
Diffstat (limited to 'components/layout/display_list_builder.rs')
-rw-r--r--components/layout/display_list_builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/display_list_builder.rs b/components/layout/display_list_builder.rs
index 8828994c056..0f3e484b816 100644
--- a/components/layout/display_list_builder.rs
+++ b/components/layout/display_list_builder.rs
@@ -2010,7 +2010,7 @@ impl FragmentDisplayListBuilding for Fragment {
// Create the filter pipeline.
let effects = self.style().get_effects();
- let mut filters = effects.filter.clone().0.into_vec();
+ let mut filters = effects.filter.0.clone();
if effects.opacity != 1.0 {
filters.push(Filter::Opacity(effects.opacity))
}