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

Unified Diff: cc/layer_sorter_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/gl_renderer.cc ('k') | cc/layer_tree_host_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_sorter_unittest.cc
diff --git a/cc/layer_sorter_unittest.cc b/cc/layer_sorter_unittest.cc
index d067f07232eee4c6b2e50715d0fe7549142d27f9..a4b7eca920cc076b1e705de02eb72da246836173 100644
--- a/cc/layer_sorter_unittest.cc
+++ b/cc/layer_sorter_unittest.cc
@@ -170,7 +170,7 @@ TEST(LayerSorterTest, LayersUnderPathologicalPerspectiveTransform)
// correct sorting dependency will not be found.
gfx::Transform transformB;
transformB.Translate3d(0, 0, 0.7);
- MathUtil::rotateEulerAngles(&transformB, 0, 45, 0);
+ transformB.RotateAboutYAxis(45);
transformB.Translate(-5, -5);
LayerShape layerB(10, 10, perspectiveMatrix * transformB);
« no previous file with comments | « cc/gl_renderer.cc ('k') | cc/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698