Index: cc/debug/invalidation_benchmark.cc |
diff --git a/cc/debug/invalidation_benchmark.cc b/cc/debug/invalidation_benchmark.cc |
index 36547c1d6ab18aed559584ebc2f3004ee06effe7..7a41c908fac29dea7989cbce6192f8f539ad4d8c 100644 |
--- a/cc/debug/invalidation_benchmark.cc |
+++ b/cc/debug/invalidation_benchmark.cc |
@@ -65,7 +65,8 @@ InvalidationBenchmark::~InvalidationBenchmark() { |
void InvalidationBenchmark::DidUpdateLayers(LayerTreeHost* host) { |
LayerTreeHostCommon::CallFunctionForEveryLayer( |
- host, [this](Layer* layer) { layer->RunMicroBenchmark(this); }); |
+ host->GetLayerTree(), |
+ [this](Layer* layer) { layer->RunMicroBenchmark(this); }); |
} |
void InvalidationBenchmark::RunOnLayer(PictureLayer* layer) { |