Skip to content

Commit

Permalink
Bug 1363639 - stylo: Make interpolation of rect() match Gecko
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrubeck committed May 24, 2017
1 parent 5e58c52 commit a8cce41
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -744,6 +744,7 @@ impl <T> Animatable for Option<T>
(&Some(ref this), &Some(ref other)) => {
Ok(this.add_weighted(other, self_portion, other_portion).ok())
}
(&None, &None) => Ok(None),
_ => Err(()),
}
}
Expand All @@ -754,6 +755,7 @@ impl <T> Animatable for Option<T>
(&Some(ref this), &Some(ref other)) => {
this.compute_distance(other)
},
(&None, &None) => Ok(0.0),
_ => Err(()),
}
}
Expand Down

0 comments on commit a8cce41

Please sign in to comment.