| Index: webkit/compositor_bindings/web_transform_animation_curve_impl.cc
|
| diff --git a/webkit/compositor_bindings/web_transform_animation_curve_impl.cc b/webkit/compositor_bindings/web_transform_animation_curve_impl.cc
|
| index efdf92b6fc5e0b3d1fd3d40d57c2342b3defb14d..9eb6a9485908f97a289fbb91683c26fb9de973af 100644
|
| --- a/webkit/compositor_bindings/web_transform_animation_curve_impl.cc
|
| +++ b/webkit/compositor_bindings/web_transform_animation_curve_impl.cc
|
| @@ -10,14 +10,16 @@
|
| #include "webkit/compositor_bindings/web_animation_curve_common.h"
|
| #include "webkit/compositor_bindings/web_transform_operations_impl.h"
|
|
|
| -namespace WebKit {
|
| +using WebKit::WebTransformKeyframe;
|
| +
|
| +namespace webkit {
|
|
|
| WebTransformAnimationCurveImpl::WebTransformAnimationCurveImpl()
|
| : curve_(cc::KeyframedTransformAnimationCurve::Create()) {}
|
|
|
| WebTransformAnimationCurveImpl::~WebTransformAnimationCurveImpl() {}
|
|
|
| -WebAnimationCurve::AnimationCurveType
|
| +WebKit::WebAnimationCurve::AnimationCurveType
|
| WebTransformAnimationCurveImpl::type() const {
|
| return WebAnimationCurve::AnimationCurveTypeTransform;
|
| }
|
| @@ -32,7 +34,7 @@ void WebTransformAnimationCurveImpl::add(const WebTransformKeyframe& keyframe,
|
| static_cast<const webkit::WebTransformOperationsImpl&>(keyframe.value())
|
| .AsTransformOperations();
|
| curve_->AddKeyframe(cc::TransformKeyframe::Create(
|
| - keyframe.time(), transform_operations, createTimingFunction(type)));
|
| + keyframe.time(), transform_operations, CreateTimingFunction(type)));
|
| }
|
|
|
| void WebTransformAnimationCurveImpl::add(const WebTransformKeyframe& keyframe,
|
| @@ -55,4 +57,4 @@ WebTransformAnimationCurveImpl::cloneToAnimationCurve() const {
|
| return curve_->Clone();
|
| }
|
|
|
| -} // namespace WebKit
|
| +} // namespace webkit
|
|
|