mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
stylo: Also tidy Servo_AnimationValue_DeepEqual while here.
This commit is contained in:
parent
663794fe2d
commit
269077f317
1 changed files with 4 additions and 4 deletions
|
@ -763,10 +763,10 @@ pub extern "C" fn Servo_AnimationValue_Transform(
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn Servo_AnimationValue_DeepEqual(this: RawServoAnimationValueBorrowed,
|
pub extern "C" fn Servo_AnimationValue_DeepEqual(
|
||||||
other: RawServoAnimationValueBorrowed)
|
this: RawServoAnimationValueBorrowed,
|
||||||
-> bool
|
other: RawServoAnimationValueBorrowed,
|
||||||
{
|
) -> bool {
|
||||||
let this_value = AnimationValue::as_arc(&this);
|
let this_value = AnimationValue::as_arc(&this);
|
||||||
let other_value = AnimationValue::as_arc(&other);
|
let other_value = AnimationValue::as_arc(&other);
|
||||||
this_value == other_value
|
this_value == other_value
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue