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

Unified Diff: webkit/compositor_bindings/web_transformation_matrix_util.cc

Issue 12629006: Prepare for removing WebTransformationMatrix from animation APIs (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_transformation_matrix_util.cc
diff --git a/webkit/compositor_bindings/web_transformation_matrix_util.cc b/webkit/compositor_bindings/web_transformation_matrix_util.cc
index d4c2ef3386a4afba8cbd50183819b2a74ef2152c..49af38a44600f3723ef59aa2a70ad9c30efefac9 100644
--- a/webkit/compositor_bindings/web_transformation_matrix_util.cc
+++ b/webkit/compositor_bindings/web_transformation_matrix_util.cc
@@ -28,25 +28,4 @@ gfx::Transform WebTransformationMatrixUtil::ToTransform(
matrix.m44());
}
-WebTransformationMatrix WebTransformationMatrixUtil::ToWebTransformationMatrix(
- const gfx::Transform& transform) {
- return WebTransformationMatrix(transform.matrix().getDouble(0, 0),
- transform.matrix().getDouble(1, 0),
- transform.matrix().getDouble(2, 0),
- transform.matrix().getDouble(3, 0),
- transform.matrix().getDouble(0, 1),
- transform.matrix().getDouble(1, 1),
- transform.matrix().getDouble(2, 1),
- transform.matrix().getDouble(3, 1),
- transform.matrix().getDouble(0, 2),
- transform.matrix().getDouble(1, 2),
- transform.matrix().getDouble(2, 2),
- transform.matrix().getDouble(3, 2),
- transform.matrix().getDouble(0, 3),
- transform.matrix().getDouble(1, 3),
- transform.matrix().getDouble(2, 3),
- transform.matrix().getDouble(3, 3));
-
-}
-
} // namespace webkit

Powered by Google App Engine
This is Rietveld 408576698