Index: cc/trees/layer_tree_host_unittest_copyrequest.cc |
diff --git a/cc/trees/layer_tree_host_unittest_copyrequest.cc b/cc/trees/layer_tree_host_unittest_copyrequest.cc |
index 7805b3d76cf9836dbd683143d37239b738686cd2..1579371db00da845cc5f4d9fa673de72bfea58f4 100644 |
--- a/cc/trees/layer_tree_host_unittest_copyrequest.cc |
+++ b/cc/trees/layer_tree_host_unittest_copyrequest.cc |
@@ -352,7 +352,7 @@ class LayerTreeHostCopyRequestTestInHiddenSubtree |
// parent_layer_ owns a render surface. |
parent_layer_ = FakePictureLayer::Create(&client_); |
parent_layer_->SetBounds(gfx::Size(15, 15)); |
- parent_layer_->SetForceRenderSurfaceForTesting(true); |
+ parent_layer_->SetForceRenderSurface(true); |
grand_parent_layer_->AddChild(parent_layer_); |
copy_layer_ = FakePictureLayer::Create(&client_); |
@@ -452,7 +452,7 @@ class LayerTreeHostTestHiddenSurfaceNotAllocatedForSubtreeCopyRequest |
// parent_layer_ owns a render surface. |
parent_layer_ = FakePictureLayer::Create(&client_); |
parent_layer_->SetBounds(gfx::Size(15, 15)); |
- parent_layer_->SetForceRenderSurfaceForTesting(true); |
+ parent_layer_->SetForceRenderSurface(true); |
grand_parent_layer_->AddChild(parent_layer_); |
copy_layer_ = FakePictureLayer::Create(&client_); |
@@ -893,7 +893,7 @@ class LayerTreeHostCopyRequestTestCountTextures |
// Doing a copy makes the layer have a render surface which can cause |
// texture allocations. So get those allocations out of the way in the |
// first frame by forcing it to have a render surface. |
- copy_layer_->SetForceRenderSurfaceForTesting(true); |
+ copy_layer_->SetForceRenderSurface(true); |
root_->AddChild(copy_layer_); |
layer_tree_host()->SetRootLayer(root_); |