Index: cc/layer_tree_host_common_unittest.cc |
diff --git a/cc/layer_tree_host_common_unittest.cc b/cc/layer_tree_host_common_unittest.cc |
index 0623a3618f6515298c28824b1a46ae7904ca7c84..8aa39d00ed4e699b996e12f9425a13717ed1edf0 100644 |
--- a/cc/layer_tree_host_common_unittest.cc |
+++ b/cc/layer_tree_host_common_unittest.cc |
@@ -2457,7 +2457,7 @@ TEST(LayerTreeHostCommonTest, verifyBackFaceCullingWithoutPreserves3d) |
gfx::Transform backfaceMatrix; |
backfaceMatrix.Translate(50, 50); |
- MathUtil::rotateAxisAngle(&backfaceMatrix, 0, 1, 0, 180); |
+ backfaceMatrix.RotateAbout(gfx::Vector3dF::YAxis(), 180); |
backfaceMatrix.Translate(-50, -50); |
// Having a descendant and opacity will force these to have render surfaces. |
@@ -2551,7 +2551,7 @@ TEST(LayerTreeHostCommonTest, verifyBackFaceCullingWithPreserves3d) |
gfx::Transform backfaceMatrix; |
backfaceMatrix.Translate(50, 50); |
- MathUtil::rotateAxisAngle(&backfaceMatrix, 0, 1, 0, 180); |
+ backfaceMatrix.RotateAbout(gfx::Vector3dF::YAxis(), 180); |
backfaceMatrix.Translate(-50, -50); |
// Opacity will not force creation of renderSurfaces in this case because of the |
@@ -2637,7 +2637,7 @@ TEST(LayerTreeHostCommonTest, verifyBackFaceCullingWithAnimatingTransforms) |
gfx::Transform backfaceMatrix; |
backfaceMatrix.Translate(50, 50); |
- MathUtil::rotateAxisAngle(&backfaceMatrix, 0, 1, 0, 180); |
+ backfaceMatrix.RotateAbout(gfx::Vector3dF::YAxis(), 180); |
backfaceMatrix.Translate(-50, -50); |
// Make our render surface. |
@@ -2712,7 +2712,7 @@ TEST(LayerTreeHostCommonTest, verifyBackFaceCullingWithPreserves3dForFlatteningS |
gfx::Transform backfaceMatrix; |
backfaceMatrix.Translate(50, 50); |
- MathUtil::rotateAxisAngle(&backfaceMatrix, 0, 1, 0, 180); |
+ backfaceMatrix.RotateAbout(gfx::Vector3dF::YAxis(), 180); |
backfaceMatrix.Translate(-50, -50); |
setLayerPropertiesForTesting(parent.get(), identityMatrix, identityMatrix, gfx::PointF(0, 0), gfx::PointF(0, 0), gfx::Size(100, 100), true); // parent transform style is preserve3d. |