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

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: Converted constructors to row-major input 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: 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 60ef892613cc576484b17a89be7f4b798f5e8346..0b16a528d58b118fb19ae1bf14f5831b4eec09dc 100644
--- a/cc/layer_tree_host_impl_unittest.cc
+++ b/cc/layer_tree_host_impl_unittest.cc
@@ -1266,7 +1266,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);

Powered by Google App Engine
This is Rietveld 408576698