| Index: cc/animation/keyframed_animation_curve.cc
|
| diff --git a/cc/animation/keyframed_animation_curve.cc b/cc/animation/keyframed_animation_curve.cc
|
| index 9642329ebe7728ea158789e4d5befe443d547e13..bf65df8f20f00ca694b0f7b604ece794f76fdede 100644
|
| --- a/cc/animation/keyframed_animation_curve.cc
|
| +++ b/cc/animation/keyframed_animation_curve.cc
|
| @@ -363,6 +363,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() &&
|
|
|