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

Unified Diff: cc/layer_tree_host_impl_unittest.cc

Issue 11774005: Migrate more functions from MathUtil to gfx::Transform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: try to fix double/float conversion errors 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
« no previous file with comments | « cc/layer_tree_host_common_unittest.cc ('k') | cc/layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_impl_unittest.cc
diff --git a/cc/layer_tree_host_impl_unittest.cc b/cc/layer_tree_host_impl_unittest.cc
index 3500e88bb3e7c46ec9ed41f18ba9b162c2bb6db3..111206a226efb6e34dc7a9df449f3195412a5be2 100644
--- a/cc/layer_tree_host_impl_unittest.cc
+++ b/cc/layer_tree_host_impl_unittest.cc
@@ -1268,7 +1268,7 @@ TEST_P(LayerTreeHostImplTest, scrollMissesBackfacingChild)
m_hostImpl->setViewportSize(surfaceSize, surfaceSize);
gfx::Transform matrix;
- MathUtil::rotateEulerAngles(&matrix, 180, 0, 0);
+ matrix.RotateAboutXAxis(180);
child->setTransform(matrix);
child->setDoubleSided(false);
« no previous file with comments | « cc/layer_tree_host_common_unittest.cc ('k') | cc/layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698