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

Unified Diff: webkit/compositor_bindings/web_float_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
Index: webkit/compositor_bindings/web_float_animation_curve_impl.cc
diff --git a/webkit/compositor_bindings/web_float_animation_curve_impl.cc b/webkit/compositor_bindings/web_float_animation_curve_impl.cc
index 8191a9baf6e2c121f96768859b9ff3711cc48950..321bab3ca3fd11ada25e06195e693b4967dc3ee0 100644
--- a/webkit/compositor_bindings/web_float_animation_curve_impl.cc
+++ b/webkit/compositor_bindings/web_float_animation_curve_impl.cc
@@ -12,7 +12,7 @@
namespace WebKit {
WebFloatAnimationCurveImpl::WebFloatAnimationCurveImpl()
- : curve_(cc::KeyframedFloatAnimationCurve::create()) {}
+ : curve_(cc::KeyframedFloatAnimationCurve::Create()) {}
WebFloatAnimationCurveImpl::~WebFloatAnimationCurveImpl() {}
@@ -26,7 +26,7 @@ void WebFloatAnimationCurveImpl::add(const WebFloatKeyframe& keyframe) {
void WebFloatAnimationCurveImpl::add(const WebFloatKeyframe& keyframe,
TimingFunctionType type) {
- curve_->addKeyframe(cc::FloatKeyframe::create(
+ curve_->AddKeyframe(cc::FloatKeyframe::Create(
keyframe.time, keyframe.value, createTimingFunction(type)));
}
@@ -35,7 +35,7 @@ void WebFloatAnimationCurveImpl::add(const WebFloatKeyframe& keyframe,
double y1,
double x2,
double y2) {
- curve_->addKeyframe(cc::FloatKeyframe::create(
+ curve_->AddKeyframe(cc::FloatKeyframe::Create(
keyframe.time,
keyframe.value,
cc::CubicBezierTimingFunction::create(x1, y1, x2, y2)
@@ -43,12 +43,12 @@ void WebFloatAnimationCurveImpl::add(const WebFloatKeyframe& keyframe,
}
float WebFloatAnimationCurveImpl::getValue(double time) const {
- return curve_->getValue(time);
+ return curve_->GetValue(time);
}
scoped_ptr<cc::AnimationCurve>
WebFloatAnimationCurveImpl::cloneToAnimationCurve() const {
- return curve_->clone();
+ return curve_->Clone();
}
} // namespace WebKit
« no previous file with comments | « webkit/compositor_bindings/web_animation_impl.cc ('k') | webkit/compositor_bindings/web_float_animation_curve_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698