Auto merge of #17576 - servo:derive-all-the-things, r=SimonSapin

Merge BoxShadowList and TextShadowList into ShadowList<T>

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17576)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-07-02 05:59:34 -07:00 committed by GitHub
commit edb0dafefc
3 changed files with 92 additions and 133 deletions

View file

@ -375,7 +375,7 @@ pub extern "C" fn Servo_AnimationValues_GetZeroValue(
-> RawServoAnimationValueStrong
{
let value_to_match = AnimationValue::as_arc(&value_to_match);
if let Some(zero_value) = value_to_match.get_zero_value() {
if let Ok(zero_value) = value_to_match.get_zero_value() {
Arc::new(zero_value).into_strong()
} else {
RawServoAnimationValueStrong::null()