mirror of
https://github.com/servo/servo.git
synced 2025-08-30 17:48:20 +01:00
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:
commit
edb0dafefc
3 changed files with 92 additions and 133 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue