diff options
Diffstat (limited to 'components/style/animation.rs')
-rw-r--r-- | components/style/animation.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/components/style/animation.rs b/components/style/animation.rs index a324fa99ea9..7fc57c22f72 100644 --- a/components/style/animation.rs +++ b/components/style/animation.rs @@ -339,12 +339,7 @@ impl PropertyAnimation { longhand, old_style, new_style, - ); - - let animated_property = match animated_property { - Some(p) => p, - None => return None, - }; + )?; let property_animation = PropertyAnimation { property: animated_property, |