mirror of
https://github.com/servo/servo.git
synced 2025-08-17 19:35:33 +01:00
Use &[ComputedOperation] as the argument type of convert_transform.
Therefore, we don't need to clone the vector.
This commit is contained in:
parent
013b4a7fd0
commit
fe028e045a
2 changed files with 4 additions and 4 deletions
|
@ -455,7 +455,7 @@ pub extern "C" fn Servo_AnimationValue_GetTransform(value: RawServoAnimationValu
|
|||
let list = unsafe { &mut *list };
|
||||
match servo_list.0 {
|
||||
Some(ref servo_list) => {
|
||||
style_structs::Box::convert_transform(servo_list.clone(), list);
|
||||
style_structs::Box::convert_transform(servo_list, list);
|
||||
},
|
||||
None => unsafe {
|
||||
list.set_move(RefPtr::from_addrefed(Gecko_NewNoneTransform()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue