| Index: cc/trees/damage_tracker_unittest.cc
|
| diff --git a/cc/trees/damage_tracker_unittest.cc b/cc/trees/damage_tracker_unittest.cc
|
| index a9c78349d81ebbfe860f3a53274396e54e60d1aa..aaaf7523f0b5d8363d384fb26d3a54df331d6802 100644
|
| --- a/cc/trees/damage_tracker_unittest.cc
|
| +++ b/cc/trees/damage_tracker_unittest.cc
|
| @@ -434,7 +434,7 @@ TEST_F(DamageTrackerTest, VerifyDamageForTransformedLayer) {
|
| rotation.Rotate(45.0);
|
|
|
| ClearDamageForAllSurfaces(root);
|
| - child->SetTransformOrigin(gfx::Point3F(
|
| + child->SetTransformOriginForTesting(gfx::Point3F(
|
| child->bounds().width() * 0.5f, child->bounds().height() * 0.5f, 0.f));
|
| child->SetPosition(gfx::PointF(85.f, 85.f));
|
| child->NoteLayerPropertyChanged();
|
| @@ -1378,7 +1378,7 @@ TEST_F(DamageTrackerTest, VerifyDamageForReplicaMaskWithTransformOrigin) {
|
| // This is not actually the transform origin point being tested, but by
|
| // convention its
|
| // expected to be the same as the replica's anchor point.
|
| - grand_child1->SetTransformOrigin(
|
| + grand_child1->SetTransformOriginForTesting(
|
| gfx::Point3F(grand_child1->bounds().width(), 0.f, 0.f));
|
|
|
| {
|
| @@ -1387,7 +1387,7 @@ TEST_F(DamageTrackerTest, VerifyDamageForReplicaMaskWithTransformOrigin) {
|
| grand_child1_replica->SetPosition(gfx::PointF());
|
|
|
| // This is the anchor being tested.
|
| - grand_child1_replica->SetTransformOrigin(
|
| + grand_child1_replica->SetTransformOriginForTesting(
|
| gfx::Point3F(grand_child1->bounds().width(), 0.f, 0.f));
|
| gfx::Transform reflection;
|
| reflection.Scale3d(-1.0, 1.0, 1.0);
|
|
|