Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(583)

Unified Diff: webkit/compositor_bindings/web_transform_animation_curve_impl.cc

Issue 12517003: cc: Chromify the Animation and LayerAnimationController classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/compositor_bindings/web_layer_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ef637596511bd0972dd3c25f5ab85d7a2821db50..f072cc78ac5d838ea682bb06da20bb6ff2849639 100644
--- a/webkit/compositor_bindings/web_transform_animation_curve_impl.cc
+++ b/webkit/compositor_bindings/web_transform_animation_curve_impl.cc
@@ -14,7 +14,7 @@
namespace WebKit {
WebTransformAnimationCurveImpl::WebTransformAnimationCurveImpl()
- : curve_(cc::KeyframedTransformAnimationCurve::create()) {}
+ : curve_(cc::KeyframedTransformAnimationCurve::Create()) {}
WebTransformAnimationCurveImpl::~WebTransformAnimationCurveImpl() {}
@@ -32,7 +32,7 @@ void WebTransformAnimationCurveImpl::add(const WebTransformKeyframe& keyframe,
const cc::TransformOperations& transform_operations =
static_cast<const webkit::WebTransformOperationsImpl&>(keyframe.value())
.AsTransformOperations();
- curve_->addKeyframe(cc::TransformKeyframe::create(
+ curve_->AddKeyframe(cc::TransformKeyframe::Create(
keyframe.time(), transform_operations, createTimingFunction(type)));
}
@@ -44,7 +44,7 @@ void WebTransformAnimationCurveImpl::add(const WebTransformKeyframe& keyframe,
const cc::TransformOperations& transform_operations =
static_cast<const webkit::WebTransformOperationsImpl&>(keyframe.value())
.AsTransformOperations();
- curve_->addKeyframe(cc::TransformKeyframe::create(
+ curve_->AddKeyframe(cc::TransformKeyframe::Create(
keyframe.time(),
transform_operations,
cc::CubicBezierTimingFunction::create(x1, y1, x2, y2)
@@ -58,7 +58,7 @@ WebTransformationMatrix WebTransformAnimationCurveImpl::getValue(
scoped_ptr<cc::AnimationCurve>
WebTransformAnimationCurveImpl::cloneToAnimationCurve() const {
- return curve_->clone();
+ return curve_->Clone();
}
} // namespace WebKit
« no previous file with comments | « webkit/compositor_bindings/web_layer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698