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

Unified Diff: cc/occlusion_tracker_unittest.cc

Issue 11418197: Move temporary MathUtil wrappers to permanent home in gfx::Transform (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased and addressed reviewer feedback Created 8 years, 1 month 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/occlusion_tracker_unittest.cc
diff --git a/cc/occlusion_tracker_unittest.cc b/cc/occlusion_tracker_unittest.cc
index c46e8fd581af84988e66878f31944bad228524fe..e03e84976988db1b7a199cf2e0c83fe4b51237d7 100644
--- a/cc/occlusion_tracker_unittest.cc
+++ b/cc/occlusion_tracker_unittest.cc
@@ -1934,7 +1934,7 @@ protected:
gfx::Transform transform;
transform.Translate(150, 150);
transform.ApplyPerspectiveDepth(400);
- MathUtil::rotateAxisAngle(&transform, 1, 0, 0, -30);
+ transform.RotateAboutXAxis(-30);
transform.Translate(-150, -150);
typename Types::ContentLayerType* parent = this->createRoot(this->identityMatrix, gfx::PointF(0, 0), gfx::Size(300, 300));
@@ -1966,7 +1966,7 @@ protected:
transform.ApplyPerspectiveDepth(10);
transform.Translate(-250, -50);
transform.Translate(250, 50);
- MathUtil::rotateAxisAngle(&transform, 1, 0, 0, -167);
+ transform.RotateAboutXAxis(-167);
transform.Translate(-250, -50);
typename Types::ContentLayerType* parent = this->createRoot(this->identityMatrix, gfx::PointF(0, 0), gfx::Size(500, 100));
« cc/math_util_unittest.cc ('K') | « cc/math_util_unittest.cc ('k') | ui/gfx/transform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698