| Index: cc/animation/keyframed_animation_curve.cc
|
| diff --git a/cc/animation/keyframed_animation_curve.cc b/cc/animation/keyframed_animation_curve.cc
|
| index a6dc8c537e63fc1e33ed421e4b5925f3cb8ea8af..7f7f002e612ccc934188554c62af0e32c7b12de4 100644
|
| --- a/cc/animation/keyframed_animation_curve.cc
|
| +++ b/cc/animation/keyframed_animation_curve.cc
|
| @@ -360,6 +360,14 @@ bool KeyframedTransformAnimationCurve::AffectsScale() const {
|
| return false;
|
| }
|
|
|
| +bool KeyframedTransformAnimationCurve::PreservesAxisAlignment() const {
|
| + for (size_t i = 0; i < keyframes_.size(); ++i) {
|
| + if (!keyframes_[i]->Value().PreservesAxisAlignment())
|
| + return false;
|
| + }
|
| + return true;
|
| +}
|
| +
|
| bool KeyframedTransformAnimationCurve::IsTranslation() const {
|
| for (size_t i = 0; i < keyframes_.size(); ++i) {
|
| if (!keyframes_[i]->Value().IsTranslation() &&
|
|
|