| Index: cc/animation/layer_animation_controller.cc
|
| diff --git a/cc/animation/layer_animation_controller.cc b/cc/animation/layer_animation_controller.cc
|
| index 911c5c426f57814305e2d69fb7ddf352290480bd..8243f69ca05c536bb460f68db9b17d8b38bbc07f 100644
|
| --- a/cc/animation/layer_animation_controller.cc
|
| +++ b/cc/animation/layer_animation_controller.cc
|
| @@ -5,6 +5,7 @@
|
| #include "cc/animation/layer_animation_controller.h"
|
|
|
| #include <algorithm>
|
| +#include <vector>
|
|
|
| #include "cc/animation/animation.h"
|
| #include "cc/animation/animation_delegate.h"
|
| @@ -504,7 +505,7 @@ bool LayerAnimationController::MaximumScale(float* max_scale) const {
|
| const TransformAnimationCurve* transform_animation_curve =
|
| animations_[i]->curve()->ToTransformAnimationCurve();
|
| float animation_scale = 0.f;
|
| - if (!transform_animation_curve->MaximumScale(&animation_scale))
|
| + if (!transform_animation_curve->MaximumTargetScale(&animation_scale))
|
| return false;
|
| *max_scale = std::max(*max_scale, animation_scale);
|
| }
|
|
|