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 3b971912eb5e767ac1a2d745ded9fee18adfab61..fd0d1d33705358b45ce314d2e4b49c4cbb6193ff 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -1102,6 +1102,9 @@ DrawResult LayerTreeHostImpl::PrepareToDraw(FrameData* frame) { |
} |
need_to_update_visible_tiles_before_draw_ = true; |
+ UMA_HISTOGRAM_CUSTOM_COUNTS( |
+ "Compositing.NumActiveLayers", active_tree_->NumLayers(), 1, 400, 20); |
+ |
bool ok = active_tree_->UpdateDrawProperties(); |
DCHECK(ok) << "UpdateDrawProperties failed during draw"; |