| Index: cc/trees/layer_tree_host.cc
|
| diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
|
| index 5437ba5e60b62ea69580f3fb7761d241dddac368..a327e434985ee8bdfe5e93e0249bb5d52bfe6567 100644
|
| --- a/cc/trees/layer_tree_host.cc
|
| +++ b/cc/trees/layer_tree_host.cc
|
| @@ -358,7 +358,7 @@ void LayerTreeHost::FinishCommitOnImplThread(LayerTreeHostImpl* host_impl) {
|
| if (is_new_trace &&
|
| frame_viewer_instrumentation::IsTracingLayerTreeSnapshots() &&
|
| root_layer()) {
|
| - LayerTreeHostCommon::CallFunctionForSubtree(
|
| + LayerTreeHostCommon::CallFunctionForEveryLayer(
|
| root_layer(), [](Layer* layer) { layer->DidBeginTracing(); });
|
| }
|
|
|
| @@ -1567,7 +1567,7 @@ 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::CallFunctionForSubtree(
|
| + LayerTreeHostCommon::CallFunctionForEveryLayer(
|
| root_layer(), [seq_num](Layer* layer) {
|
| layer->set_property_tree_sequence_number(seq_num);
|
| });
|
|
|