| Index: cc/animation_curve.cc
|
| diff --git a/cc/animation_curve.cc b/cc/animation_curve.cc
|
| index 73c5291a598643ad7716a7ae429a1cc0a8a34be6..0fe49e9cf684552fc8c63629109c40a655a593dd 100644
|
| --- a/cc/animation_curve.cc
|
| +++ b/cc/animation_curve.cc
|
| @@ -8,26 +8,23 @@
|
|
|
| namespace cc {
|
|
|
| -const FloatAnimationCurve* AnimationCurve::toFloatAnimationCurve() const
|
| -{
|
| - DCHECK(type() == AnimationCurve::Float);
|
| - return static_cast<const FloatAnimationCurve*>(this);
|
| +const FloatAnimationCurve* AnimationCurve::ToFloatAnimationCurve() const {
|
| + DCHECK(Type() == AnimationCurve::Float);
|
| + return static_cast<const FloatAnimationCurve*>(this);
|
| }
|
|
|
| -AnimationCurve::Type FloatAnimationCurve::type() const
|
| -{
|
| - return Float;
|
| +AnimationCurve::CurveType FloatAnimationCurve::Type() const {
|
| + return Float;
|
| }
|
|
|
| -const TransformAnimationCurve* AnimationCurve::toTransformAnimationCurve() const
|
| -{
|
| - DCHECK(type() == AnimationCurve::Transform);
|
| - return static_cast<const TransformAnimationCurve*>(this);
|
| +const TransformAnimationCurve* AnimationCurve::ToTransformAnimationCurve()
|
| + const {
|
| + DCHECK(Type() == AnimationCurve::Transform);
|
| + return static_cast<const TransformAnimationCurve*>(this);
|
| }
|
|
|
| -AnimationCurve::Type TransformAnimationCurve::type() const
|
| -{
|
| - return Transform;
|
| +AnimationCurve::CurveType TransformAnimationCurve::Type() const {
|
| + return Transform;
|
| }
|
|
|
| } // namespace cc
|
|
|