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

Unified Diff: webkit/compositor_bindings/web_transform_animation_curve_impl.cc

Issue 12035029: Finish migrating cc/ from WebKit::WebTransformationMatrix to gfx::Transform (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix nits Created 7 years, 11 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_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 3affd5a7d1794eb598bed244fcd5b9a4184b228a..e8c162201893213d991dcffc8b1ce3db5aacfb55 100644
--- a/webkit/compositor_bindings/web_transform_animation_curve_impl.cc
+++ b/webkit/compositor_bindings/web_transform_animation_curve_impl.cc
@@ -9,6 +9,7 @@
#include "cc/transform_operations.h"
#include "webkit/compositor_bindings/web_animation_curve_common.h"
#include "webkit/compositor_bindings/web_transform_operations_impl.h"
+#include "webkit/compositor_bindings/web_transformation_matrix_util.h"
namespace WebKit {
@@ -47,7 +48,7 @@ void WebTransformAnimationCurveImpl::add(const WebTransformKeyframe& keyframe, d
WebTransformationMatrix WebTransformAnimationCurveImpl::getValue(double time) const
{
- return m_curve->getValue(time);
+ return webkit::WebTransformationMatrixUtil::ToWebTransformationMatrix(m_curve->getValue(time));
}
scoped_ptr<cc::AnimationCurve> WebTransformAnimationCurveImpl::cloneToAnimationCurve() const
« no previous file with comments | « webkit/compositor_bindings/web_layer_impl.cc ('k') | webkit/compositor_bindings/web_transform_operations_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698