| Index: cc/animation/animation_events.cc
|
| diff --git a/cc/animation/animation_events.cc b/cc/animation/animation_events.cc
|
| index edd435b772a5167b90cd49c088d59a6a8b3e36b4..e747f8bec2a06745180b8dda0edc335e241d0434 100644
|
| --- a/cc/animation/animation_events.cc
|
| +++ b/cc/animation/animation_events.cc
|
| @@ -19,7 +19,38 @@ AnimationEvent::AnimationEvent(AnimationEvent::Type type,
|
| is_impl_only(false),
|
| opacity(0.f) {}
|
|
|
| -AnimationEvent::AnimationEvent(const AnimationEvent& other) = default;
|
| +AnimationEvent::AnimationEvent(const AnimationEvent& other) {
|
| + type = other.type;
|
| + layer_id = other.layer_id;
|
| + group_id = other.group_id;
|
| + target_property = other.target_property;
|
| + monotonic_time = other.monotonic_time;
|
| + is_impl_only = other.is_impl_only;
|
| + opacity = other.opacity;
|
| + transform = other.transform;
|
| + filters = other.filters;
|
| + animation_start_time = other.animation_start_time;
|
| + if (other.curve)
|
| + curve = other.curve->Clone();
|
| +}
|
| +
|
| +AnimationEvent& AnimationEvent::operator=(const AnimationEvent& other) {
|
| + type = other.type;
|
| + layer_id = other.layer_id;
|
| + group_id = other.group_id;
|
| + target_property = other.target_property;
|
| + monotonic_time = other.monotonic_time;
|
| + is_impl_only = other.is_impl_only;
|
| + opacity = other.opacity;
|
| + transform = other.transform;
|
| + filters = other.filters;
|
| + animation_start_time = other.animation_start_time;
|
| + if (other.curve)
|
| + curve = other.curve->Clone();
|
| + return *this;
|
| +}
|
| +
|
| +AnimationEvent::~AnimationEvent() {}
|
|
|
| AnimationEvents::AnimationEvents() {}
|
|
|
|
|