Index: cc/layers/layer_proto_converter.cc |
diff --git a/cc/layers/layer_proto_converter.cc b/cc/layers/layer_proto_converter.cc |
index 281b5fb6116ad61b04257be43b014a2e626be13a..70023b062e1e58a2f0676f72a7c7787548995094 100644 |
--- a/cc/layers/layer_proto_converter.cc |
+++ b/cc/layers/layer_proto_converter.cc |
@@ -85,7 +85,7 @@ void LayerProtoConverter::DeserializeLayerProperties( |
void LayerProtoConverter::RecursivelyFindAllLayers(Layer* root_layer, |
LayerIdMap* layer_id_map) { |
LayerTreeHostCommon::CallFunctionForEveryLayer( |
- root_layer->layer_tree_host(), |
+ root_layer->GetLayerTree(), |
[layer_id_map](Layer* layer) { (*layer_id_map)[layer->id()] = layer; }); |
} |