Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index 5e3123ca8616f5e17dd786a06541be44e0396584..55979b853164a633d74594536c0bf4862ef99840 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -1345,7 +1345,6 @@ void LayerTreeHostImpl::DrawLayers(FrameData* frame, |
fps_counter_->SaveTimeStamp(frame_begin_time, |
!output_surface_->context_provider()); |
- |
bool on_main_thread = false; |
rendering_stats_instrumentation_->IncrementFrameCount( |
1, on_main_thread); |
@@ -1439,6 +1438,7 @@ void LayerTreeHostImpl::DrawLayers(FrameData* frame, |
} |
active_tree_->root_layer()->ResetAllChangeTrackingForSubtree(); |
+ devtools_instrumentation::DidDrawFrame(id_); |
BenchmarkInstrumentation::IssueImplThreadRenderingStatsEvent( |
rendering_stats_instrumentation_->impl_thread_rendering_stats()); |
rendering_stats_instrumentation_->AccumulateAndClearImplThreadStats(); |
@@ -1637,8 +1637,8 @@ void LayerTreeHostImpl::ActivatePendingTree() { |
if (time_source_client_adapter_ && time_source_client_adapter_->Active()) |
DCHECK(active_tree_->root_layer()); |
- devtools_instrumentation::didActivateLayerTree(id_, |
- active_tree_->source_frame_number()); |
+ devtools_instrumentation::DidActivateLayerTree( |
+ id_, active_tree_->source_frame_number()); |
} |
void LayerTreeHostImpl::SetVisible(bool visible) { |