Index: cc/trees/layer_tree_host_unittest_occlusion.cc |
diff --git a/cc/trees/layer_tree_host_unittest_occlusion.cc b/cc/trees/layer_tree_host_unittest_occlusion.cc |
index 2550e2abe6504085f13daec0f6f7a19868cb7bc7..eed7a0b263311a1317ed87b08d2c5cffd96320fc 100644 |
--- a/cc/trees/layer_tree_host_unittest_occlusion.cc |
+++ b/cc/trees/layer_tree_host_unittest_occlusion.cc |
@@ -87,7 +87,7 @@ class LayerTreeHostOcclusionTestDrawPropertiesOnSurface |
child_->SetBounds(gfx::Size(1, 1)); |
child_->SetPosition(gfx::PointF(10.f, 5.5f)); |
child_->SetIsDrawable(true); |
- child_->SetForceRenderSurface(true); |
+ child_->SetForceRenderSurfaceForTesting(true); |
root->AddChild(child_); |
scoped_refptr<Layer> child2 = Layer::Create(); |
@@ -283,7 +283,7 @@ class LayerTreeHostOcclusionTestDrawPropertiesInsideReplica |
child_->SetBounds(gfx::Size(1, 1)); |
child_->SetPosition(gfx::PointF(10.f, 5.5f)); |
child_->SetIsDrawable(true); |
- child_->SetForceRenderSurface(true); |
+ child_->SetForceRenderSurfaceForTesting(true); |
root->AddChild(child_); |
scoped_refptr<Layer> replica = Layer::Create(); |