Index: cc/layer_sorter_unittest.cc |
diff --git a/cc/layer_sorter_unittest.cc b/cc/layer_sorter_unittest.cc |
index 6c54fc550974b2ad6bdb1aec116983d580b584f4..eb2e6bcdb4f2f680c12511077dbeee72ea9675e4 100644 |
--- a/cc/layer_sorter_unittest.cc |
+++ b/cc/layer_sorter_unittest.cc |
@@ -67,8 +67,8 @@ TEST(LayerSorterTest, RightAngleOverlap) |
// Two layers forming a right angle with a perspective viewing transform. |
WebTransformationMatrix leftFaceMatrix; |
+ leftFaceMatrix.translate3d(-1, 0, -5); |
leftFaceMatrix.rotate3d(0, 1, 0, -90); |
- leftFaceMatrix.translateRight3d(-1, 0, -5); |
leftFaceMatrix.translate(-1, -1); |
LayerShape leftFace(2, 2, perspectiveMatrix * leftFaceMatrix); |
WebTransformationMatrix frontFaceMatrix; |
@@ -97,8 +97,8 @@ TEST(LayerSorterTest, IntersectingLayerOverlap) |
LayerShape frontFace(2, 2, perspectiveMatrix * frontFaceMatrix); |
WebTransformationMatrix throughMatrix; |
+ throughMatrix.translate3d(0, 0, -4); |
throughMatrix.rotate3d(0, 1, 0, 45); |
- throughMatrix.translateRight3d(0, 0, -4); |
throughMatrix.translate(-1, -1); |
LayerShape rotatedFace(2, 2, perspectiveMatrix * throughMatrix); |
overlapResult = LayerSorter::checkOverlap(&frontFace, &rotatedFace, zThreshold, weight); |