summaryrefslogtreecommitdiffstats
path: root/webkit/compositor/WebTransformAnimationCurveImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/compositor/WebTransformAnimationCurveImpl.cpp')
-rw-r--r--webkit/compositor/WebTransformAnimationCurveImpl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/compositor/WebTransformAnimationCurveImpl.cpp b/webkit/compositor/WebTransformAnimationCurveImpl.cpp
index f1efd1f..2cdf000 100644
--- a/webkit/compositor/WebTransformAnimationCurveImpl.cpp
+++ b/webkit/compositor/WebTransformAnimationCurveImpl.cpp
@@ -16,11 +16,11 @@ namespace WebKit {
WebTransformAnimationCurve* WebTransformAnimationCurve::create()
{
- return new WebTransformAnimationCurveImpl(WebCore::CCKeyframedTransformAnimationCurve::create());
+ return new WebTransformAnimationCurveImpl();
}
-WebTransformAnimationCurveImpl::WebTransformAnimationCurveImpl(PassOwnPtr<WebCore::CCKeyframedTransformAnimationCurve> curve)
- : m_curve(curve)
+WebTransformAnimationCurveImpl::WebTransformAnimationCurveImpl()
+ : m_curve(WebCore::CCKeyframedTransformAnimationCurve::create())
{
}