Index: cc/layers/heads_up_display_layer_impl_unittest.cc |
diff --git a/cc/layers/heads_up_display_layer_impl_unittest.cc b/cc/layers/heads_up_display_layer_impl_unittest.cc |
index 3712d06ac56d0b757fe7fccf02063ccfb94d16b7..e5b8cbd9e503220bfeb0422455c918cfcce14d96 100644 |
--- a/cc/layers/heads_up_display_layer_impl_unittest.cc |
+++ b/cc/layers/heads_up_display_layer_impl_unittest.cc |
@@ -49,7 +49,7 @@ TEST(HeadsUpDisplayLayerImplTest, ResourcelessSoftwareDrawAfterResourceLoss) { |
HeadsUpDisplayLayerImpl* layer = layer_ptr.get(); |
- host_impl.pending_tree()->SetRootLayer(std::move(layer_ptr)); |
+ host_impl.pending_tree()->SetRootLayerForTesting(std::move(layer_ptr)); |
host_impl.pending_tree()->BuildLayerListAndPropertyTreesForTesting(); |
// Check regular hardware draw is ok. |