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

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: 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..3c75d831639ae3fe9e49ff375db7f79bae5a51d4 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.RotateAbout(gfx::Vector3dF::XAxis(), -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.RotateAbout(gfx::Vector3dF::XAxis(), -167);
transform.Translate(-250, -50);
typename Types::ContentLayerType* parent = this->createRoot(this->identityMatrix, gfx::PointF(0, 0), gfx::Size(500, 100));

Powered by Google App Engine
This is Rietveld 408576698