Index: cc/layers/layer_proto_converter_unittest.cc |
diff --git a/cc/layers/layer_proto_converter_unittest.cc b/cc/layers/layer_proto_converter_unittest.cc |
index 87a4a30c185a553e384d463ab20c07f9b898ebd4..a4b5686d21b04d92c334dddf6d033c25e398a40d 100644 |
--- a/cc/layers/layer_proto_converter_unittest.cc |
+++ b/cc/layers/layer_proto_converter_unittest.cc |
@@ -196,7 +196,7 @@ TEST_F(LayerProtoConverterTest, RecursivePropertiesSerialization) { |
proto::LayerUpdate layer_update; |
LayerProtoConverter::SerializeLayerProperties( |
- layer_src_root->layer_tree_host(), &layer_update); |
+ layer_src_root->GetLayerTreeHostForTesting(), &layer_update); |
// All flags for pushing properties should have been cleared. |
EXPECT_FALSE( |
@@ -232,7 +232,7 @@ TEST_F(LayerProtoConverterTest, RecursivePropertiesSerialization) { |
dirty_layer_ids.insert(layer_src_d->id()); |
LayerProtoConverter::SerializeLayerProperties( |
- layer_src_root->layer_tree_host(), &layer_update); |
+ layer_src_root->GetLayerTreeHostForTesting(), &layer_update); |
// All flags for pushing properties should have been cleared. |
EXPECT_FALSE( |
@@ -283,7 +283,7 @@ TEST_F(LayerProtoConverterTest, RecursivePropertiesSerializationSingleChild) { |
proto::LayerUpdate layer_update; |
LayerProtoConverter::SerializeLayerProperties( |
- layer_src_root->layer_tree_host(), &layer_update); |
+ layer_src_root->GetLayerTreeHostForTesting(), &layer_update); |
// All layers need to push properties as their layer tree host changed. |
ASSERT_EQ(4, layer_update.layers_size()); |
layer_update.Clear(); |
@@ -295,7 +295,7 @@ TEST_F(LayerProtoConverterTest, RecursivePropertiesSerializationSingleChild) { |
dirty_layer_ids.insert(layer_src_b_mask->id()); |
LayerProtoConverter::SerializeLayerProperties( |
- layer_src_root->layer_tree_host(), &layer_update); |
+ layer_src_root->GetLayerTreeHostForTesting(), &layer_update); |
// All flags for pushing properties should have been cleared. |
EXPECT_FALSE( |