Index: cc/keyframed_animation_curve.cc |
diff --git a/cc/keyframed_animation_curve.cc b/cc/keyframed_animation_curve.cc |
index 9cf0ef37e14343565988e9e3a755d7e82453c2b7..f5cf0fca573a1e6151e93a23664632c778f5875b 100644 |
--- a/cc/keyframed_animation_curve.cc |
+++ b/cc/keyframed_animation_curve.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "cc/keyframed_animation_curve.h" |
+#include "cc/transform_operations.h" |
using WebKit::WebTransformationMatrix; |
@@ -91,7 +92,7 @@ scoped_ptr<TransformKeyframe> TransformKeyframe::create(double time, const WebKi |
TransformKeyframe::TransformKeyframe(double time, const WebKit::WebTransformOperations& value, scoped_ptr<TimingFunction> timingFunction) |
: Keyframe(time, timingFunction.Pass()) |
- , m_value(value) |
+ , m_value(TransformOperations::Create(value)) |
{ |
} |
@@ -101,7 +102,7 @@ TransformKeyframe::~TransformKeyframe() |
const WebKit::WebTransformOperations& TransformKeyframe::value() const |
{ |
- return m_value; |
+ return *m_value; |
} |
scoped_ptr<TransformKeyframe> TransformKeyframe::clone() const |