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

Unified Diff: cc/damage_tracker_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 | « no previous file | cc/draw_quad_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/damage_tracker_unittest.cc
diff --git a/cc/damage_tracker_unittest.cc b/cc/damage_tracker_unittest.cc
index 1d81e5895262030848c0c68895ed4d56bb349533..74408c3d7beb08fd54215fd7e4f4da75a7dd379b 100644
--- a/cc/damage_tracker_unittest.cc
+++ b/cc/damage_tracker_unittest.cc
@@ -341,7 +341,7 @@ TEST_F(DamageTrackerTest, verifyDamageForPerspectiveClippedLayer)
gfx::Transform transform;
transform.Translate3d(500, 500, 0);
transform.ApplyPerspectiveDepth(1);
- MathUtil::rotateEulerAngles(&transform, 0, 45, 0);
+ transform.RotateAboutYAxis(45);
transform.Translate3d(-50, -50, 0);
// Set up the child
« no previous file with comments | « no previous file | cc/draw_quad_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698