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)); |