Index: cc/layers/layer_proto_converter.cc |
diff --git a/cc/layers/layer_proto_converter.cc b/cc/layers/layer_proto_converter.cc |
index 05e360b63b8c275893dc7e3d1b207965f4298642..32e681a9682b7b82292ec8baa4600957690e382b 100644 |
--- a/cc/layers/layer_proto_converter.cc |
+++ b/cc/layers/layer_proto_converter.cc |
@@ -85,8 +85,7 @@ void LayerProtoConverter::RecursivelyFindAllLayers(Layer* root_layer, |
LayerIdMap* layer_id_map) { |
LayerTreeHostCommon::CallFunctionForEveryLayer( |
root_layer->layer_tree_host(), |
- [layer_id_map](Layer* layer) { (*layer_id_map)[layer->id()] = layer; }, |
- CallFunctionLayerType::ALL_LAYERS); |
+ [layer_id_map](Layer* layer) { (*layer_id_map)[layer->id()] = layer; }); |
} |
// static |