Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 60ad5f847b4b5c1c64cc554f61f667c6803f04d1..d6c4f3289b8d34ad3b91cd06f45b652147aa4b64 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -412,8 +412,7 @@ void LayerTreeHost::FinishCommitOnImplThread(LayerTreeHostImpl* host_impl) { |
frame_viewer_instrumentation::IsTracingLayerTreeSnapshots() && |
root_layer()) { |
LayerTreeHostCommon::CallFunctionForEveryLayer( |
- this, [](Layer* layer) { layer->DidBeginTracing(); }, |
- CallFunctionLayerType::ALL_LAYERS); |
+ this, [](Layer* layer) { layer->DidBeginTracing(); }); |
} |
LayerTreeImpl* sync_tree = host_impl->sync_tree(); |
@@ -1650,12 +1649,9 @@ void LayerTreeHost::FromProtobufForCommit(const proto::LayerTreeHost& proto) { |
// updated for other reasons. All layers that at this point are part of the |
// layer tree are valid, so it is OK that they have a valid sequence number. |
int seq_num = property_trees_.sequence_number; |
- LayerTreeHostCommon::CallFunctionForEveryLayer( |
- this, |
- [seq_num](Layer* layer) { |
- layer->set_property_tree_sequence_number(seq_num); |
- }, |
- CallFunctionLayerType::ALL_LAYERS); |
+ LayerTreeHostCommon::CallFunctionForEveryLayer(this, [seq_num](Layer* layer) { |
+ layer->set_property_tree_sequence_number(seq_num); |
+ }); |
surface_id_namespace_ = proto.surface_id_namespace(); |
next_surface_sequence_ = proto.next_surface_sequence(); |