| 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 db305203b4b032f72c02c27c2c875030a7cff617..52f2f54431a6b5c6d495edead38a0e7fd68230f2 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,
|
| @@ -51,8 +53,8 @@ void WebTransformAnimationCurveImpl::add(const WebTransformKeyframe& keyframe,
|
| }
|
|
|
| scoped_ptr<cc::AnimationCurve>
|
| -WebTransformAnimationCurveImpl::cloneToAnimationCurve() const {
|
| +WebTransformAnimationCurveImpl::CloneToAnimationCurve() const {
|
| return curve_->Clone();
|
| }
|
|
|
| -} // namespace WebKit
|
| +} // namespace webkit
|
|
|