| Index: cc/debug/invalidation_benchmark.cc
|
| diff --git a/cc/debug/invalidation_benchmark.cc b/cc/debug/invalidation_benchmark.cc
|
| index 0cd68cb8d9a20cc2f3c7ca9a8d810204cded108a..0a2f3e93b2bef2082c558bbf8de4d111f6cd9e4a 100644
|
| --- a/cc/debug/invalidation_benchmark.cc
|
| +++ b/cc/debug/invalidation_benchmark.cc
|
| @@ -63,9 +63,8 @@ InvalidationBenchmark::~InvalidationBenchmark() {
|
| }
|
|
|
| void InvalidationBenchmark::DidUpdateLayers(LayerTreeHost* host) {
|
| - LayerTreeHostCommon::CallFunctionForSubtree(
|
| - host->root_layer(),
|
| - [this](Layer* layer) { layer->RunMicroBenchmark(this); });
|
| + LayerTreeHostCommon::CallFunctionForEveryLayer(
|
| + host, [this](Layer* layer) { layer->RunMicroBenchmark(this); });
|
| }
|
|
|
| void InvalidationBenchmark::RunOnLayer(PictureLayer* layer) {
|
|
|