Index: cc/layers/layer_position_constraint_unittest.cc |
diff --git a/cc/layers/layer_position_constraint_unittest.cc b/cc/layers/layer_position_constraint_unittest.cc |
index ff886dbe792324e17e17a9386c2aadbed0494acb..f969db866070d79c484d48c3f072f832748e0851 100644 |
--- a/cc/layers/layer_position_constraint_unittest.cc |
+++ b/cc/layers/layer_position_constraint_unittest.cc |
@@ -438,7 +438,7 @@ TEST_F(LayerPositionConstraintTest, |
// for when checking the scroll delta. |
child_->SetIsContainerForFixedPositionLayers(true); |
grand_child_->SetPosition(gfx::PointF(8.f, 6.f)); |
- grand_child_->SetForceRenderSurfaceForTesting(true); |
+ grand_child_->SetForceRenderSurface(true); |
great_grand_child_->SetPositionConstraint(fixed_to_top_left_); |
gfx::Transform rotation_about_z; |
@@ -564,9 +564,9 @@ TEST_F(LayerPositionConstraintTest, |
// Actually set up the scenario here. |
child_->SetIsContainerForFixedPositionLayers(true); |
grand_child_->SetPosition(gfx::PointF(8.f, 6.f)); |
- grand_child_->SetForceRenderSurfaceForTesting(true); |
+ grand_child_->SetForceRenderSurface(true); |
great_grand_child_->SetPosition(gfx::PointF(40.f, 60.f)); |
- great_grand_child_->SetForceRenderSurfaceForTesting(true); |
+ great_grand_child_->SetForceRenderSurface(true); |
fixed_position_child->SetPositionConstraint(fixed_to_top_left_); |
// The additional rotation, which is non-commutative with translations, helps |
@@ -724,9 +724,9 @@ TEST_F( |
// Actually set up the scenario here. |
child_transform_layer_->SetIsContainerForFixedPositionLayers(true); |
grand_child_->SetPosition(gfx::PointF(8.f, 6.f)); |
- grand_child_->SetForceRenderSurfaceForTesting(true); |
+ grand_child_->SetForceRenderSurface(true); |
great_grand_child_->SetPosition(gfx::PointF(40.f, 60.f)); |
- great_grand_child_->SetForceRenderSurfaceForTesting(true); |
+ great_grand_child_->SetForceRenderSurface(true); |
fixed_position_child->SetPositionConstraint(fixed_to_top_left_); |
// The additional rotations, which are non-commutative with translations, help |
@@ -838,7 +838,7 @@ TEST_F(LayerPositionConstraintTest, |
// that render target is completely irrelevant; it should not affect the |
// scroll compensation. |
child_->SetIsContainerForFixedPositionLayers(true); |
- child_->SetForceRenderSurfaceForTesting(true); |
+ child_->SetForceRenderSurface(true); |
grand_child_->SetPositionConstraint(fixed_to_top_left_); |
CommitAndUpdateImplPointers(); |