| Index: cc/layers/layer_proto_converter.cc
|
| diff --git a/cc/layers/layer_proto_converter.cc b/cc/layers/layer_proto_converter.cc
|
| index f4c097f68827d8999f5b72bcdc765ba222851cce..b7602a2d84726c8ed62fe898b49b5ac4fe60e441 100644
|
| --- a/cc/layers/layer_proto_converter.cc
|
| +++ b/cc/layers/layer_proto_converter.cc
|
| @@ -80,8 +80,8 @@ void LayerProtoConverter::DeserializeLayerProperties(
|
| // static
|
| void LayerProtoConverter::RecursivelyFindAllLayers(Layer* root_layer,
|
| LayerIdMap* layer_id_map) {
|
| - LayerTreeHostCommon::CallFunctionForSubtree(
|
| - root_layer,
|
| + LayerTreeHostCommon::CallFunctionForEveryLayer(
|
| + root_layer->layer_tree_host(),
|
| [layer_id_map](Layer* layer) { (*layer_id_map)[layer->id()] = layer; });
|
| }
|
|
|
|
|